fsnotes
fsnotes copied to clipboard
Yaml in mermaid triggers error
Description
If you add any Frontmatter YAML in front ot a Mermaid object it triggers an error. [Mermaid syntax reference](https://mermaid.js.org/intro/syntax-reference.html). For example this:
---
title: Frontmatter Example
config:
theme: forest
---
Also, the App was using an older version of Mermaid. I figured out how to replace it. My suggestion is to add a setting to choose whether to use the App’s version or load it from the CDN.
The Mermaid CDN config page is here: [mermaid CDN by jsDelivr - A CDN for npm and GitHub](https://www.jsdelivr.com/package/npm/mermaid)
Cheers Mike
To Reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
No response
FSNotes version
Version 6.10.2 (660)
macOS/iOS version
15.5
Additional context
No response