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 /config-examples/en/config.toml | |
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 'config-examples/en/config.toml')
-rw-r--r-- | config-examples/en/config.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config-examples/en/config.toml b/config-examples/en/config.toml index 79d056d..4676c74 100644 --- a/config-examples/en/config.toml +++ b/config-examples/en/config.toml @@ -606,6 +606,15 @@ uglyURLs = false ###################################### + # Mermaid (https://github.com/mermaid-js/mermaid) + + enableMermaid = false + # Note: *global settings* + # `mermaid` in post’s Front Matter + # has a higher priority than here + + + ###################################### # Comments # Note: render only in production |