served.utils.ddoc

Undocumented in source.

Members

Functions

ddocToMarkdown
string ddocToMarkdown(string ddoc)
string ddocToMarkdown(Comment comment)

Convert a Ddoc comment string to markdown. Returns ddoc string back if it is not valid.

ddocToMarked
MarkedString[] ddocToMarked(string ddoc)
MarkedString[] ddocToMarked(Comment comment)

Convert a DDoc comment string to MarkedString (as defined in the language server spec)

getParamDocumentation
string getParamDocumentation(Comment comment, string searchParam)
getParams
inout(KeyValuePair[]) getParams(Comment comment)
markdownToMarked
MarkedString[] markdownToMarked(string md)

Converts markdown code to MarkedString blocks as determined by D code blocks.

parseDdoc
Comment parseDdoc(string ddoc, bool throwError)

Parses a ddoc string into a divided comment.

Imports

Comment (from ddoc)
public import ddoc : Comment;
Undocumented in source.

Static variables

inlineRefPrefix
auto inlineRefPrefix;
Undocumented in source.

Variables

markdownMacros
string[string] markdownMacros;
Undocumented in source.

Meta