ribber
September 3, 2024, 12:30am
1
Steps to reproduce
Opening a note containing Mermaid in Obsidian mobile. I have closed all plugin,but It still cannot render Mermaid diagram.Error message:
Error parsing Mermaid diagram!
mermaid is not defined
Environment
Andoird Obsidian 1.6.7
Jopp
September 4, 2024, 9:32am
2
Unfortunately, this bug isn’t new and was already present on obsidian mobile version 1.6 or minor, cant remember anymore.
Probably most users don’t use much the mobile version of obsidian in combination with mermaid diagrams so nobody noticed.
Pity, because mermaid diagrams on obsidian mobile used to work great together.
Can you post exactly which mermaid diagram are you using?
Does it not work in a new empty vault?
What is your phone, android version, and android webview version?
Jopp
September 5, 2024, 7:32pm
5
graph TB;
id1{LoremIpsum}-->id2(LoremIpsum)
id2-->id3(Lorem)
id2-->id4(Ipsum)
id2-->id5(Abc)
id5-->id6a(Lorem & Ipsum)
id5-->id6b(Abc Loremipsum)
id5-->id7(Lorem)
id7-->id8(Lorem & Ipsum)
id7-->id9(Ipsum)
id9-->id10(LoremIpsum abc LoremIpsum)
id9-->id11(LoremIpsum)
id11-->id12(Lorem ipsum)
id11-->id13(Lorem abc ipsum)
Android: 11
Webview: 97.0.4692.98
Plugins: deactivated (safe mode)
CSS snippets: deactivated
Theme: default obsidian theme
Obsidian version: 1.6.7
Works for me.
That webview version is very old. Try to update it.
Jopp
September 5, 2024, 8:38pm
7
Confirmed. With Webview updated, mermaid works again. Thanks
system
Closed
October 3, 2024, 8:38pm
8
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.