Closed o-o00o-o closed 3 years ago
I've encountered this error and I believe the difference is the whitespaces. That is:
``` mermaid
graph TD
subgraph sub1
A --> B
end
C --> B
and
::: mermaid graph TD subgraph sub1 A --> B end C --> B :::
The Azure Wiki renderer doesn't seem to mind the whitespaces.
I do end up switching back and forth because the [syntax highlighter](https://github.com/bpruitt-goddard/vscode-mermaid-syntax-highlight) only supports backticks. And it's easier to edit with whitespaces.
For the exact same diagram I get an error if I use ::: but not if I use ```. Doesn't seem likely but true!
This works. Switch the ``` for ::: and it doesn't.