jobindjohn / obsidian-publish-mkdocs

A Template to Publish Obsidian/Foam Notes on Github Pages (uses MkDocs)
Creative Commons Zero v1.0 Universal
524 stars 37 forks source link

Mermaid diagrams are not rendering #35

Open szymek156 opened 12 months ago

szymek156 commented 12 months ago

Hello, Issue visible on official demo: https://jobindjohn.github.io/obsidian-publish-mkdocs/Features/Mermaid%20Diagrams/

Unfortunately I don't know how to make it work

UltimateBrent commented 11 months ago

Just take the additional javascripts mermaid.js line out of the config yml.

kluchey commented 11 months ago

I replaced the original mermaid extra javascript line in the config yml with:

and got my diagrams to render (previously, none would!).

I found this cdn on the mermaid repository. Might not be a forever fix!