getnikola / nikola

A static website and blog generator
https://getnikola.com/
MIT License
2.62k stars 451 forks source link

Implement emphasize-lines directive (#3607) #3611

Closed fvicent closed 2 years ago

fvicent commented 2 years ago

Pull Request Checklist

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 commented 2 years ago

Thanks for contributing this feature!

fvicent commented 2 years ago

My pleasure!

El 22/4/2022 a las 16:05, Chris Warrick escribió:

Thanks for contributing this feature!

— Reply to this email directly, view it on GitHub https://github.com/getnikola/nikola/pull/3611#issuecomment-1106782572, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGNOC4LIKVJD3MUIL4M2ODTVGL2ADANCNFSM5UA3MQFQ. You are receiving this because you authored the thread.Message ID: @.***>