ddox.highlight

D syntax highlighting.

Members

Aliases

IdentifierRenderCallback
alias IdentifierRenderCallback = void delegate(string ident, scope void delegate(IdentifierRenderMode mode, size_t nskip) insert_ident)
Undocumented in source.

Enums

IdentifierRenderMode
enum IdentifierRenderMode
Undocumented in source.

Functions

highlightDCode
void highlightDCode(R dst, string code, IdentifierRenderCallback ident_render)
string highlightDCode(string str, 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