The options for the renderMarkdown function.

interface IRenderOptions {
    host: HTMLElement;
    latexTypesetter: null | IRenderMime.ILatexTypesetter;
    linkHandler: null | IRenderMime.ILinkHandler;
    markdownParser: null | IRenderMime.IMarkdownParser;
    resolver: null | IRenderMime.IResolver;
    sanitizer: IRenderMime.ISanitizer;
    shouldTypeset: boolean;
    source: string;
    translator?: ITranslator;
    trusted: boolean;
}

Properties

The host node for the rendered Markdown.

latexTypesetter: null | IRenderMime.ILatexTypesetter

The LaTeX typesetter for the application.

linkHandler: null | IRenderMime.ILinkHandler

An optional link handler.

markdownParser: null | IRenderMime.IMarkdownParser

The Markdown parser.

resolver: null | IRenderMime.IResolver

An optional url resolver.

The html sanitizer for untrusted source.

shouldTypeset: boolean

Whether the node should be typeset.

source: string

The Markdown source to render.

translator?: ITranslator

The application language translator.

trusted: boolean

Whether the source is trusted.