Skip to content

Make region URLs in GitHub use ?plain=1 for HTML rendered files#94

Open
dakra wants to merge 1 commit intormuslimov:masterfrom
dakra:add-gh-plain
Open

Make region URLs in GitHub use ?plain=1 for HTML rendered files#94
dakra wants to merge 1 commit intormuslimov:masterfrom
dakra:add-gh-plain

Conversation

@dakra
Copy link
Contributor

@dakra dakra commented Oct 27, 2022

When you select a region in a file that's supported by the GitHub
markup library, the content is rendered as HTML and doesn't have
line numbers to jump to.

If you want to mark line numbers you have to use ?plain=1 in your
URL, see https://github.blog/changelog/2021-06-30-parameter-to-disable-markdown-rendering/

When you select a region in a file that's supported by the GitHub
markup library, the content is rendered as HTML and doesn't have
line numbers to jump to.

If you want to mark line numbers you have to use `?plain=1` in your
URL, see https://github.blog/changelog/2021-06-30-parameter-to-disable-markdown-rendering/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments