jobindjohn / obsidian-publish-mkdocs

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

Mermaid diagrams are not rendering #35

Open szymek156 opened 1 year ago

szymek156 commented 1 year 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 1 year ago

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

kluchey commented 1 year 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!