Skip to content

loadMermaid

Code location

loadMermaid(): Promise<any>

Load Mermaid and return a promise to the global mermaid object. Can also use mermaid after this promise resolves to get the same reference.

Returns

Promise<any>

See

Official Mermaid documentation