MermaidOptions
OfficeIMO.MarkdownRenderer
Options controlling Mermaid rendering when used in a WebView/browser context. Mermaid transforms ```mermaid fenced code blocks into diagrams at runtime.
Inheritance
- object
- MermaidOptions
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property MarkdownRendererOptions.Mermaid
Constructors
public MermaidOptions() #Inherited Methods
Properties
public string EsmModuleUrl { get; set; } #ESM module URL for Mermaid. Default points at Mermaid v11 on jsDelivr.
public string ScriptUrl { get; set; } #Script URL for Mermaid (non-module). This is useful for offline bundling/hosting scenarios. Default points at Mermaid v11 on jsDelivr.
public string LightTheme { get; set; } #Mermaid theme name to use in light mode. Default: "default".
public string DarkTheme { get; set; } #Mermaid theme name to use in dark mode. Default: "dark".
public bool EnableHashCaching { get; set; } #When true, MarkdownRenderer.RenderBodyHtml adds hashes to Mermaid blocks so the incremental updater can preserve already-rendered SVGs when content is updated. Default: true.