Monkey Documentation

Class Markdown


Constructors:
  • New ( linkResolver:ILinkResolver, prettifier:IPrettifier )
Methods:
  • ToHtml : String ( markdown:String )

Constructor Documentation

Method New ( linkResolver:ILinkResolver, prettifier:IPrettifier )

Creates a new markdown object with the given link resolver.

The linkResolver parameter is used by the markdown object to resolve links.

linkResolver may be null, in which case links are not resolved and will instead be converted to plain text.

The prettifier parameter is used by the markdown object to process <pre> blocks.

prettifier may be null, in which case <pre> blocks are converted to html without modification.

For a discussion of markdown syntax, please see brl.markdown.


Method Documentation

Method ToHtml : String ( markdown:String )

Converts markdown to html.