ddoc.highlight

Perform highlighting on code section.

DDOC string can contains embedded code. Those code can be highlighted by means of macros (keywork will be surrounded by $(D_KEYWORD), comments by $(D_COMMENT), etc... This module performs the highlighting.

Members

Functions

highlight
string highlight(string str)

Parses a string and replace embedded code (code between at least 3 '-') with the relevant macros.

Meta

Authors

Brian Schott, Mathias 'Geod24' Lang