Nim/lib/packages/docutils
Andrey Makarov e35946f306
enable syntax highlighting for inline code (#17585)
* enable syntax highlighting for inline code

* finish '.. default-role' and preliminary '.. role'

implementation

* more compact check in dirRole

* set :literal: as default role for *.rst

* Update lib/packages/docutils/rst.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* use whichRole for setting currRoleKind

* Update lib/packages/docutils/rst.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* rename rnGeneralRole -> rnUnknownRole

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
2021-04-02 22:11:44 +02:00
..
docutils.nimble.old remove docutils.nimble (not a real nimble package, and affected canonical imports) (#17544) 2021-03-29 12:46:53 +02:00
highlite.nim remove docutils.nimble (not a real nimble package, and affected canonical imports) (#17544) 2021-03-29 12:46:53 +02:00
rst.nim enable syntax highlighting for inline code (#17585) 2021-04-02 22:11:44 +02:00
rstast.nim enable syntax highlighting for inline code (#17585) 2021-04-02 22:11:44 +02:00
rstgen.nim enable syntax highlighting for inline code (#17585) 2021-04-02 22:11:44 +02:00