ptpb / pb

pb is a formerly-lightweight pastebin and url shortener
Other
552 stars 52 forks source link

Links with range of line numbers #224

Open kaushalmodi opened 6 years ago

kaushalmodi commented 6 years ago

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:

buhman commented 6 years ago

duplicate of https://github.com/ptpb/pb/issues/215