ddox.highlight

D syntax highlighting.

Members

Aliases

IdentifierRenderCallback
alias IdentifierRenderCallback = void delegate(string ident, scope void delegate(bool) insert_ident)
Undocumented in source.

Functions

highlightDCode
string highlightDCode(string str, IdentifierRenderCallback ident_render)

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

highlightDCode
void highlightDCode(R dst, string code, IdentifierRenderCallback ident_render)

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

Meta

License

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

Authors

Sönke Ludwig