mkdocs-mermaid2-plugin icon indicating copy to clipboard operation
mkdocs-mermaid2-plugin copied to clipboard

Markdown inside of node text is not rendering

Open tarik-kafein opened this issue 2 years ago • 2 comments

Hi,

When markdown is used inside a node text it generates perfectly on mermaid.live editor but not in mkdocs with this plugin installed. I tried with giving the latest verison as version: 10.4.0

Below you can see an example to test it. The text inside nodeC gets rendered as is an not with markdown.

graph LR
    nodeA{nodeA} --> nodeB[nodeB]
    nodeB --> nodeC("`**nodeC**`")

I also added the following to mkdocs.yml markdown_extensions

- pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:mermaid2.fence_mermaid_custom

Can you help me please?

tarik-kafein avatar Sep 13 '23 13:09 tarik-kafein

Thank you for your contribution! This is very appreciated.

github-actions[bot] avatar Sep 13 '23 13:09 github-actions[bot]

The best advice is to follow the steps in that case. Let me know the results?

fralau avatar Sep 25 '23 08:09 fralau