Steps to reproduce
With the following
```mermaid
---
title: Animal example
---
classDiagram
Animal <|-- Duck
Expected result
Graph with title
Actual result
Error parsing Mermaid diagram!
Parse error on line 1:
---title: Animal e
^
Expecting 'open_directive', 'NEWLINE', 'SPACE', 'GRAPH', got 'LINK'`
Environment
- Operating system: Windows 10
Additional information
1 Like
acook
2
Confirming this issue.
Mermaid frontmatter isn’t parsed properly.
For comparison here is the same graph in the Mermaid live editor, which works just fine.
when was this added to mermaid?
1 Like
AdrienT
4
system
Closed
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.