Pasted a link with a line range like #L10-L20 but the whole file is shown
What you are seeing
I pasted a link with a line range like #L10-L20 but the whole file is shown.
Why it happens
Capable reads the line numbers from the link, but the macro has no setting to keep them, so they are dropped.
What to do
Showing a line range is not supported. Either show the whole file, or split the source file if you only want part of it on the page.
Settings involved
Setting | Where | What it does |
|---|---|---|
Hide GitHub across the whole site | App property `capable-global-hidden-capabilities`, object name `hiddenCapabilities`, value | Hides GitHub site-wide. Important: this only hides the GitHub byline. Existing GitHub macros keep showing on pages. |
Related
extension
Found it? Good.
extension
extension