Mermaid Support
This theme comes with built in mermaid support powered by maemaidj-js. To enable mermaid for a page, you have to put mermaid: true in your page front-matter. For example, this page has the following front-matter:
title: "Mermaid Support" date: 2022-03-14T06:15:35+06:00 menu: sidebar: name: Mermaid identifier: writing-post-mermaid parent: writing-post weight: 60 mermaid: true Then, you can use mermaid short code to add your mermaid content. For example:
{{< mermaid align="center">}} # your mermaid content here {{< /mermaid >}} The mermaid short code accept the following parameters: