Skip to content

Links with range of line numbers #224

Description

@kaushalmodi

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)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions