You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to be able to link to a specific line in a Markdown (restructuredtext/ ...) file.
When I press <leader>gy in the readme of this repo, I e.g. get the link https://github.com/ruifm/gitlinker.nvim/blob/c68d4873a14d2ae614875685ccca2e49472989e8/README.md#L3-L5, which links to the rendered version of the document, which means the #L3-L5 bit of the URL is ignored.
Describe the solution you'd like
It would be nice if a ?plain=1 was added to files with a .md, .rst, ... extension. For example, instead of https://github.com/ruifm/gitlinker.nvim/blob/c68d4873a14d2ae614875685ccca2e49472989e8/README.md#L3-L5 I want to get https://github.com/ruifm/gitlinker.nvim/blob/c68d4873a14d2ae614875685ccca2e49472989e8/README.md?plain=1#L3-L5
And thanks for the nice plugin :)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I want to be able to link to a specific line in a Markdown (restructuredtext/ ...) file.
When I press
<leader>gy
in the readme of this repo, I e.g. get the linkhttps://github.com/ruifm/gitlinker.nvim/blob/c68d4873a14d2ae614875685ccca2e49472989e8/README.md#L3-L5
, which links to the rendered version of the document, which means the#L3-L5
bit of the URL is ignored.Describe the solution you'd like
It would be nice if a
?plain=1
was added to files with a.md
,.rst
, ... extension. For example, instead ofhttps://github.com/ruifm/gitlinker.nvim/blob/c68d4873a14d2ae614875685ccca2e49472989e8/README.md#L3-L5
I want to gethttps://github.com/ruifm/gitlinker.nvim/blob/c68d4873a14d2ae614875685ccca2e49472989e8/README.md?plain=1#L3-L5
And thanks for the nice plugin :)
The text was updated successfully, but these errors were encountered: