Interface MarkdownRenderOptions

interface MarkdownRenderOptions {
    actionHandler?: ContentActionHandler;
    asyncRenderCallback?: (() => void);
    className?: string;
    codeBlockRenderer?: ((languageId, value) => Promise<HTMLElement>);
    inline?: boolean;
    renderCodeSegments?: boolean;
}

Hierarchy (view full)

Properties

actionHandler?: ContentActionHandler
asyncRenderCallback?: (() => void)

Type declaration

    • (): void
    • Returns void

className?: string
codeBlockRenderer?: ((languageId, value) => Promise<HTMLElement>)

Type declaration

    • (languageId, value): Promise<HTMLElement>
    • Parameters

      • languageId: string
      • value: string

      Returns Promise<HTMLElement>

inline?: boolean
renderCodeSegments?: boolean