formatDdocComment

Takes a DDOC string and outputs formatted HTML.

The hlevel parameter specifies the header level used for section names (<h2&gt by default). By specifying a display_section callback it is also possible to output only certain sections.

  1. string formatDdocComment(string ddoc_, int hlevel, bool delegate(string) display_section)
    string
    formatDdocComment
    (
    string ddoc_
    ,
    int hlevel = 2
    ,
    bool delegate
    (
    string
    )
    display_section = null
    )
  2. string formatDdocComment(string text, DdocContext context, int hlevel, bool delegate(string) display_section)

Meta