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

Implement emphasize-lines directive (#3607) #3611

Merged
merged 2 commits into from
Apr 22, 2022
Merged

Implement emphasize-lines directive (#3607) #3611

merged 2 commits into from
Apr 22, 2022

Conversation

fvicent
Copy link
Contributor

@fvicent fvicent commented Apr 22, 2022

Pull Request Checklist

  • I’ve read the guidelines for contributing.
  • I updated AUTHORS.txt and CHANGES.txt (if the change is non-trivial) and documentation (if applicable).
  • I tested my changes.

Description

Add the emphasize-lines directive to code blocks, so that certain lines can be highlighted. I've borrowed almost verbatim this implementation from the Sphinx codebase.

@Kwpolska Kwpolska linked an issue Apr 22, 2022 that may be closed by this pull request
@Kwpolska Kwpolska enabled auto-merge April 22, 2022 17:53
@Kwpolska Kwpolska merged commit 2389632 into getnikola:master Apr 22, 2022
@Kwpolska
Copy link
Member

Thanks for contributing this feature!

@fvicent
Copy link
Contributor Author

fvicent commented Apr 22, 2022 via email

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

Successfully merging this pull request may close these issues.

Add emphasize-lines directive to code blocks
2 participants