ddox.highlight

D syntax highlighting.

Members

Aliases

IdentifierRenderCallback
alias IdentifierRenderCallback = void delegate(string ident, scope void delegate() 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.

highlightDCodeImpl
void highlightDCodeImpl(R dst, string code, IdentifierRenderCallback ident_render, string last_class)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

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

Authors

Sönke Ludwig