We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The CommonMark spec allows for any arbitrary content to exist in the info string of a code block. Would you be open to adding support for highlighting specific lines of code within said code block?
```html{2} <div> <p>I wish I wish I was a fish</p> </div> ```
Proposed Syntax
html{4}
html{4-5}
html{1,4-5}
The text was updated successfully, but these errors were encountered:
I'd very much be interested in this!
I don't really have time to implement this myself atm, but I'll gladly accept a PR.
Sorry, something went wrong.
Sure thing! I can work on a PR for this, just wanted to make sure it'd be received favorably before I worked on it.
Successfully merging a pull request may close this issue.
The CommonMark spec allows for any arbitrary content to exist in the info string of a code block. Would you be open to adding support for highlighting specific lines of code within said code block?
Proposed Syntax
html{4}
- highlight the 4th line of the code blockhtml{4-5}
- highlight the 4th through 5th lines of codehtml{1,4-5}
- highlight the 1st and 4th through 5th line of code separatelyThe text was updated successfully, but these errors were encountered: