rmuslimov / browse-at-remote

Browse target page on github/bitbucket from emacs buffers
232 stars 53 forks source link

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

Open dakra opened 1 year ago

dakra commented 1 year ago

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/