You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Libdoc: Add syntax highlighting support when using reStructuredText #2448
Libdoc has supported reStructuredText since RF 2.7.5 (#489) and reST has supported code blocks since docutils 0.9. Syntax highlighting in reST is implemented using Pygments which supports dozens of programming languages, including Robot Framework syntax.
It's currently possible to use code blocks with Libdoc when using reST, but results are not highlighted. The main benefit of adding syntax highlight support is to make examples created using code blocks look a lot better. This is important especially if Selenium2Library starts using reST (robotframework/Selenium2Library#389), but reST would work also nicely in Robot's own standard library docs.
This issue only covers adding syntax highlighting and #2507 covers other reST related enhancements.
changed the title [-]Libdoc does not support syntax highlighting when using reStructuredText[/-][+]Libdoc: Add syntax highlighting support when using reStructuredText[/+]on Dec 29, 2016
Activity
Libdoc: Syntax highlighting when using reST. #2448
Libdoc: Add test and doc for reST syntax highlighting.
pekkaklarck commentedon Dec 29, 2016
Commit 855deb2 added docs and test for highlighting. This issue can be considered done.
[-]Libdoc does not support syntax highlighting when using reStructuredText[/-][+]Libdoc: Add syntax highlighting support when using reStructuredText[/+]