loadMermaid

loadMermaid() function

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

Signature:

export function loadMermaid(): Promise<any>;

Returns:

Promise<any>