Mkdocs "can not display mermaid in the right way"



我尝试使用这个主题插件来显示图形

链接:https://squidfunk.github.io/mkdocs-material/reference/diagrams/?h=mermaid

设置文件:

- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid-experimental
format: !!python/name:pymdownx.superfences.fence_code_format
extra_javascript:
- https://unpkg.com/mermaid@8.6.4/dist/mermaid.min.js

我只有这个。。在此处输入图像描述

我不认为是版本问题

有人有什么建议吗?感谢

这是您当时内部人士报价的一部分。如果您升级mkdocs材料版本,它应该可以工作。

https://squidfunk.github.io/mkdocs-material/insiders/

相关内容

最新更新