ddox.highlight

D syntax highlighting.

Members

Functions

highlightDCode
void highlightDCode(ref R dst, string code, scope IdentifierRenderCallback ident_render = null)
string highlightDCode(string str, IdentifierRenderCallback ident_render = null)

Takes a piece of D code and outputs a sequence of HTML elements useful for syntax highlighting.

Meta

Authors

Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.