diff options
author | reuixiy <reuixiy@gmail.com> | 2020-03-11 16:55:41 +0300 |
---|---|---|
committer | reuixiy <reuixiy@gmail.com> | 2020-03-11 16:55:41 +0300 |
commit | 431ef631f9b49fcefc04d683d341703792aa6d67 (patch) | |
tree | 73f9846c56e1e3255a33ba1a41490555cf1e911e /README.zh-cn.md | |
parent | 17ed2eae96a008ed559feb87dce407d40a04b95c (diff) |
feat: add mermaid support (#75)
usage
1. enable mermaid in post's front matter, e.g.
---
mermaid: true
2. include content with `<div>`, e.g.
<div class="mermaid">
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
</div>
Diffstat (limited to 'README.zh-cn.md')
-rw-r--r-- | README.zh-cn.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/README.zh-cn.md b/README.zh-cn.md index fc012a5..5e0e0e1 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -100,6 +100,7 @@ share | display post-share | boolean, override `displayPostShare` in `config.tom related | display related-posts | boolean, override `displayRelatedPosts` in `config.toml`, MemE only katex | add KaTeX support | boolean, override `enableKaTeX` in `config.toml`, MemE only mathjax | add MathJax support | boolean, override `enableMathJax` in `config.toml`, MemE only +mermaid | add Mermaid support | boolean, override `enableMermaid` in `config.toml`, MemE only comments | set `false` to disable comments in mainSections or set `true` to enable comments in non-mainSections | boolean, MemE only smallCaps | small caps? | boolean, override `enableSmallCaps` in `config.toml`, MemE only dropCap | drop cap? | boolean, override `enableDropCap` in `config.toml`, MemE only |