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

Support line highlighting #10

Open
webknjaz opened this issue Oct 7, 2020 · 0 comments
Open

Support line highlighting #10

webknjaz opened this issue Oct 7, 2020 · 0 comments

Comments

@webknjaz
Copy link

webknjaz commented Oct 7, 2020

Passing hl_lines= arg to formatters allows to tell Pygments to highlight certain lines: https://pygments.org/docs/formatters/#HtmlFormatter.

It'd be great to support this feature.

Here's how some JS libs implement this, UX-wise: https://github.com/egoist/markdown-it-highlight-lines#usage.

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