API Reference
MermaidOptions
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
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property MarkdownRendererOptions.Mermaid
Constructors
public MermaidOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Boolean Enabled { get; set; } #Enable Mermaid support. Default: true.
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 Boolean EnableHashCaching { get; set; } #When true, MarkdownRendererOptions) adds hashes to Mermaid blocks so the incremental updater can preserve already-rendered SVGs when content is updated. Default: true.