Steps to reproduce
- Type consecutive ‘-’ characters in a code block using keyboard
- Two characters are automatically converted into a single ‘—’
This consistently causes a syntax error in Mermaid diagrams.
I tried to change monospace font, it didn’t work.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
The input should remain as two consecutive characters ‘--’
Actual result
Characters are converted into a single ‘—’
Environment
SYSTEM INFO:
Operating system: ios 18.6.2 (Apple iPad16,1)
Obsidian version: 1.10.6 (256)
API version: v1.10.6
Login status: not logged in
Language: en
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none