The options for the renderHTML function.

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

Properties

The host node for the rendered HTML.

latexTypesetter: null | IRenderMime.ILatexTypesetter

The LaTeX typesetter for the application.

linkHandler: null | IRenderMime.ILinkHandler

An optional link handler.

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 HTML source to render.

translator?: ITranslator

The application language translator.

trusted: boolean

Whether the source is trusted.