Converts embedded code sections to plain text inside (D_CODE) without any syntax highlighting applied. This can be used as lightweight alternative to ddoc.highlight when syntax highlighting the code is not actually needed.
Base code for highlight and unhighlight, calling the highlightCode callback parameter on all embedded sections to handle how it is emitted.
Parses a string and replace embedded code (code between at least 3 '-') with plaintext.
See Source File
Brian Schott, Mathias 'Geod24' Lang, Jan Jurzitza
© 2014 Economic Modeling Specialists, Intl.
Boost License 1.0
Converts embedded code sections to plain text inside (D_CODE) without any syntax highlighting applied. This can be used as lightweight alternative to ddoc.highlight when syntax highlighting the code is not actually needed.