Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links with range of line numbers #224

Open
kaushalmodi opened this issue Aug 9, 2018 · 1 comment
Open

Links with range of line numbers #224

kaushalmodi opened this issue Aug 9, 2018 · 1 comment

Comments

@kaushalmodi
Copy link

kaushalmodi commented Aug 9, 2018

On GitHub/GitLab, you can click on a line number, then Ctrl-click on another line number, and you get a link with line number range like this: https://github.com/ptpb/pb/blob/master/pb/lexers/toml.py#L22-L24

I know that ptpb.pw links allow linking to individual lines like this: https://ptpb.pw/WwKU/toml#L-35

Can a line number range be supported too? Probably something like:

  • https://ptpb.pw/WwKU/toml#L-35-40, or
  • https://ptpb.pw/WwKU/toml#L35-L40 (without that extra hyphen, to look like GitHub links), or
  • https://ptpb.pw/WwKU/toml#L35-40 (without that extra hyphen, and extra L)
@buhman
Copy link
Member

buhman commented Aug 9, 2018

duplicate of #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants