From 3429787217bae821f1d77516611d620f30eba960 Mon Sep 17 00:00:00 2001 From: Cym10x Date: Tue, 24 Mar 2026 09:33:02 +0800 Subject: [PATCH] =?UTF-8?q?M=20=E7=AC=94=E8=AE=B0=E5=88=86=E4=BA=AB/LaTeX?= =?UTF-8?q?=EF=BC=88KaTeX=EF=BC=89=E7=89=B9=E6=AE=8A=E8=BE=93=E5=85=A5.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 笔记分享/LaTeX(KaTeX)特殊输入.md | 74 ++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/笔记分享/LaTeX(KaTeX)特殊输入.md b/笔记分享/LaTeX(KaTeX)特殊输入.md index bef2a4c..a9345b4 100644 --- a/笔记分享/LaTeX(KaTeX)特殊输入.md +++ b/笔记分享/LaTeX(KaTeX)特殊输入.md @@ -86,4 +86,78 @@ $\color{red} x^2 + \color{blue} y^2 = 1$ 32px - 醒目标题 ``` +# Mermaid +参考:[Mermaid 参考](https://docs.min2k.com/zh/mermaid/syntax) +Obsidian支持 Mermaid 图表,思维导图(但是很丑): +```mermaid +mindmap + A["`**根节点** 支持一定的Markdown 🤓`"] + B["子节点"] + C["子节点"] + D["子节点的子节点"] + E["子节点的子节点"] + F["子节点的子节点"] +``` +时序图: +```mermaid +sequenceDiagram + Alice->>John: Hello John, how are you? + John-->>Alice: Great! + Alice-)John: See you later! +``` + +甘特图: +```mermaid +gantt + title A Gantt Diagram + dateFormat YYYY-MM-DD + section Section + A task :a1, 2014-01-01, 30d + Another task :after a1, 20d + section Another + Task in Another :2014-01-12, 12d + another task :24d + +``` +饼图 +```mermaid +pie title Pets adopted by volunteers + "Dogs" : 386 + "Cats" : 85 + "Rats" : 15 + +``` +统计图 +```mermaid +xychart-beta + title "牛马指数" + x-axis [jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec] + y-axis "指数" 4000 --> 11000 + bar [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000] + line [5000, 6000, 7500, 8200, 9500, 10500, 11000, 10200, 9200, 8500, 7000, 6000] + +``` + +饼干图 +```mermaid +block-beta + columns 3 + a["饼干1"] b["饼干2"]:2 c["饼干3"]:2 d["饼干4"] +``` +何意味: +```mermaid +stateDiagram + [*] --> Still + Still --> [*] + + Still --> Moving + Moving --> Still + Moving --> Crash + Crash --> [*] +``` +目前正在研究如何使其变得更美观。 + +>[!quote] Cym10x +>666把 Obsidian 沙盒搬进来了 +> \ No newline at end of file