Skip to content

@comfit/wasm / RenderHtmlOptions

Type Alias: RenderHtmlOptions

RenderHtmlOptions = HtmlOptions & ({ defaultTheme?: never; style?: "class" | "variables"; theme?: never; themes?: never; } | { defaultTheme?: never; style: "inline"; theme: Theme; themes?: never; } | { defaultTheme?: string; style: "inline"; theme?: never; themes: Readonly<Record<string, Theme>>; })

Defined in: types.ts:95

HTML style mode and its permitted single-theme or named-theme inputs.