Mermaid rendering issues on mkdocs build #7126
-
Dear community, I have built such an amazing site using markdown and mkdocs-material. Within my page, mermaid diagrams are heavily used. Do you have any idea why this happens? What I did so far:
I really appreciate any idea to understand what happens here and to get rid of this error. My Environment: Installed packages (in my venv based on my
How to reproduce: # Initialize venv
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Thanks a lot for your assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Found and fixed it:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid in addition to the plugins plugins:
- search:
lang: en
- mermaid2 |
Beta Was this translation helpful? Give feedback.
-
Material has its own Mermaid integration that does not depend on the third party plugin. If you want to use the plugin then it is no wonder that the configuration needs to be different. |
Beta Was this translation helpful? Give feedback.
Found and fixed it:
The documentation has an issue which just occurs when the site is exported.
in addition to the plugins