Description
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.