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

When using the superfences configuration as per the docs,
<<join>>and<<choice>>are not rendered correctly:This results choice and join nodes to be rendered as standard text nodes in the stateDiagram-v2
Example diagram:
With superfences


Without superfences