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

Playground block tool - Highlight specific lines for files shown in the block and scroll to the first line highlighted #283

Open
juanmaguitar opened this issue May 23, 2024 · 0 comments

Comments

@juanmaguitar
Copy link
Contributor

Ideally, when using this block, it would be great if we could somehow highlight specific lines of code, either highlighting them or hiding the other ones.

The expected behavior for this request is:

  • Being able to specify lines of code for a specific file
  • Scroll the page for that file to the first line that is highlighted

To avoid inconsistencies with content from files loaded, a good approach could be highlighting lines from linked files are only available for links done to files on specific commits.

cc: @adamziel

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

No branches or pull requests

1 participant