-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Combine anchorlinenos and hl_lines for dynamic highlighting #8503
Comments
I think this needs to happen first: alecthomas/chroma#373. Additionally, it would be easier to identify ranges of line numbers in the URL fragment if a hyphen was not appended to the string specified in |
It is possible to highlight some lines in Highlight Shortcode using
hl_lines
parameter andanchorlinenos
can be used to reference some specific lines of code.While having a documentation website with code examples, it would be handy to reference some lines of code and have a highlight on them, like it's done on Github
The text was updated successfully, but these errors were encountered: