loadMermaid
Official
Load Mermaid and return a promise to the global mermaid object. Can also use Window.mermaid after this promise resolves to get the same reference.
For more specific return type, use:
const mermaid = await loadMermaid(); ```
<ImportStatement text="import { loadMermaid } from 'obsidian';" />
**Signature:**
```tsfunction loadMermaid(): Promise<unknown>Returns: Promise<unknown> — A promise that resolves to the global Window.mermaid object.