Steps to reproduce
- Install latest version of Obsidian on iOS.
- Create an empty new file and put in any mermaid diagram. For demonstration purposes, an empty one (ticks with “mermaid” and nothing else) works.
- Enable the reading view.
Did you follow the troubleshooting guide? [Y/N]
YExpected result
I’d like to see the mermaid graph being rendered.
Actual result
One of the following always happens: (1) I see a blank diagram; (2) I see syntax highlighted source code of the mermaid diagram; (3) I see the error message “Error parsing Mermaid diagram! Can’t find variable: mermaid”.
Environment
SYSTEM INFO:
Operating system: ios 16.1.1 (Apple iPad14,4)
Obsidian version: 1.9.14 (241)
API version: v1.9.14
Login status: not logged in
Language: en
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 1
Plugins enabled: 1
1: Git v2.35.1
Additional information
I was able to find and test a few older versions of iOS Obsidian. The last version I can find that works is 1.7.7. The first version I can find that has this bug is 1.8.3.