From 7b8824dc595b97a19950d70fbcb22be7c2723637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 22 Jan 2026 16:11:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=85=AC=E5=BC=8F=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=EF=BC=8C=E6=B7=BB=E5=8A=A0mermaid=E5=9B=BE=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 1 + public/js/editormd/editormd.min.js | 5 +- public/js/editormd/mermaid.min.js | 1580 ++++++++++++++++++++++++++++ src/common/marked.js | 7 +- src/common/mermaid.js | 34 + src/components/render-html.jsx | 34 +- 6 files changed, 1656 insertions(+), 5 deletions(-) create mode 100644 public/js/editormd/mermaid.min.js create mode 100644 src/common/mermaid.js diff --git a/public/index.html b/public/index.html index 892a72efa..71d7b0054 100755 --- a/public/index.html +++ b/public/index.html @@ -54,6 +54,7 @@ + <%= htmlWebpackPlugin.tags.bodyTags %>