If mermaid is synchronously loaded, a slow load can prevent the sidebar navigation from displaying. Instead, we load mermaid asynchronously and then call `mermaidLoaded()` when it loads.
If mermaid is synchronously loaded, a slow load can prevent the sidebar navigation from displaying. Instead, we load mermaid asynchronously and then call `mermaidLoaded()` when it loads.