Skip to content

高级 Mermaid(即将推出..)

从 html 中分离 Mermaid 代码

可以通过将 Mermaid 代码嵌入到自己的 .js 文件中来实现更简洁的 html 代码,如下所示:

A more condensed html code can be achieved by embedding the mermaid code in its own .js file, which is referenced like so:

html
...
  </div>
  </body>
</html>

实际的 Mermaid 文件可能如下所示:

The actual mermaid file could for example look like this:

javascript
mermaid content ...

Mermaid 配置选项

markdown
(coming soon)