filterDdocComment

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 = 2, bool delegate(string) display_section = null)
  2. string formatDdocComment(string text, DdocContext context, int hlevel = 2, bool delegate(string) display_section = null)
  3. void filterDdocComment(ref R dst, string text, DdocContext context, int hlevel = 2, bool delegate(string) display_section = null)
    void
    filterDdocComment
    (
    R
    )
    (
    ref R dst
    ,
    string text
    ,,
    int hlevel = 2
    ,
    bool delegate(
    string
    )
    display_section = null
    )

Meta