Based on experience with Obsidian Links in Mermaid
Steps to reproduce
Create a code block in a note as follows:
graph LR;
AAA(AAA Note) --> BBB(BBB Note);
Expected result
Go to preview mode. You should see correctly displayed “AAA Note” and “BBB Note”.
Actual result
Environment
Operating system: Mac OS 10.14.6
- Obsidian version: 0.7.6
Additional information
The problem can be temporarily fixed by using a class modifier in Mermaid as follows -
graph LR;
AAA[Sample<br>text]:::FixFont;
classDef FixFont font-size:11px