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

Line select link sharing. #154

Open
KonradStanski opened this issue Jan 9, 2025 · 1 comment
Open

Line select link sharing. #154

KonradStanski opened this issue Jan 9, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@KonradStanski
Copy link
Contributor

The current "share link" behaviour is that it allows selection of some section of text. This is useful, but I think the other mode that is missing is clicking on the line number in the side bar / click to drag to select a range of line numbers.
This would perhaps generate a link with query param ?lineSelect=10 or ?lineSelect=10-12

@KonradStanski
Copy link
Contributor Author

As an added note, if possible it might be good to keep this query param as human readable as possible so that users can quickly grok which lines a link refers to.

@brendan-kellam brendan-kellam added the enhancement New feature or request label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants