Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Libdoc: Add syntax highlighting support when using reStructuredText #2448

Closed
@pekkaklarck

Description

@pekkaklarck

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions