@liquid-js/underflow
    Preparing search index...

    Interface ViewerOptions

    interface ViewerOptions {
        el: HTMLElement;
        initialValue?: string;
        events?: EventMap;
        plugins?: EditorPlugin[];
        extendedAutolinks?: ExtendedAutolinks;
        linkAttributes?: Partial<Record<LinkAttributeNames, string>>;
        customHTMLRenderer?: Partial<
            Record<string, HTMLConvertor | HTMLMdNodeConvertorMap>,
        >;
        referenceDefinition?: boolean;
        customHTMLSanitizer?: Sanitizer;
        frontMatter?: boolean;
        theme?: string;
        widgetRules?: WidgetRule[];
    }
    Index
    el: HTMLElement
    initialValue?: string
    events?: EventMap
    plugins?: EditorPlugin[]

    plugins, or [plugin, options] pairs

    extendedAutolinks?: ExtendedAutolinks

    links URLs written without <>, as GFM does, or with a custom parser

    linkAttributes?: Partial<Record<LinkAttributeNames, string>>

    added to the links rendered from markdown

    customHTMLRenderer?: Partial<
        Record<string, HTMLConvertor | HTMLMdNodeConvertorMap>,
    >
    referenceDefinition?: boolean

    resolves link reference definitions ([label]: url)

    customHTMLSanitizer?: Sanitizer

    replaces the default, DOMPurify-based sanitizer

    frontMatter?: boolean

    reads a --- block at the start as front matter

    theme?: string

    light, dark or a custom theme, see docs/theming.md; light by default

    widgetRules?: WidgetRule[]

    see docs/widget.md