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

Add an option to highlight one or more lines #1544

Open
egvijayanand opened this issue Dec 20, 2024 · 0 comments
Open

Add an option to highlight one or more lines #1544

egvijayanand opened this issue Dec 20, 2024 · 0 comments

Comments

@egvijayanand
Copy link

Is your feature request related to a problem? Please describe.

No, it's not an issue but rather a feature request.

When sharing a code snippet, we sometimes need to highlight one or more lines to draw attention to them.

Describe the solution you'd like

If possible, line highlighting in the snippet

Describe alternatives you've considered

Screenshot from the IDE with a focus on that particular line. Lacks that premium look and feel.

Additional context

Some online code editors achieve this by getting the line numbers and then modifying the CSS accordingly.

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

1 participant