:lipstick:🚩 Add mermaid support. Close #56

This commit is contained in:
凡梦星尘
2022-09-19 21:57:23 +08:00
parent 56166c7e76
commit d994042131
9 changed files with 255 additions and 31 deletions

View File

@@ -84,6 +84,7 @@ instant:
file: dist/instantsearch.production.min.js
plugins:
# 数学公式渲染
mathjax:
js:
- name: mathjax
@@ -102,4 +103,11 @@ plugins:
- name: katex
version: 0.16.0
file: dist/katex.min.css
# 画图渲染
mermaid:
js:
- name: mermaid
version: 9.1.7
file: dist/mermaid.min.js