mkdocs-mermaid2-plugin
mkdocs-mermaid2-plugin copied to clipboard
With superfences: <<join>> and <<choice>> not rendered
When using the superfences configuration as per the docs, <<join>> and <<choice>> are not rendered correctly:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid_custom
This results choice and join nodes to be rendered as standard text nodes in the stateDiagram-v2
Example diagram:
stateDiagram-v2
state split <<choice>>
[*] --> split
split --> one: Option 1
split --> two: Option 2
With superfences
Without superfences
Thank you for your contribution! This is very appreciated.
Thanks: define "correctly", in terms of what you expected?
Also, specify what theme you are using?
Correct would be the diamond. Incorrect is the name "split"
I'm using mkdocs material