From 872b5a61ace4455b175c3c94cde9d230be55dcc3 Mon Sep 17 00:00:00 2001 From: xihale Date: Mon, 19 Jan 2026 23:15:30 +0800 Subject: [PATCH 1/3] fix(layout): Add cross-origin prototype for Mermaid renderer import --- layouts/post.shtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/post.shtml b/layouts/post.shtml index 2dcd8d5..e889742 100644 --- a/layouts/post.shtml +++ b/layouts/post.shtml @@ -11,7 +11,7 @@ - +
From 27d30c8bb45c677aa090da7891ba346372e7605f Mon Sep 17 00:00:00 2001 From: xihale Date: Tue, 20 Jan 2026 09:39:02 +0800 Subject: [PATCH 2/3] chore: upgrade mermaid and KaTeX dependencies to latest stable versions --- content/post/2025-07-19-zine-migration.smd | 12 ++++++------ layouts/post.shtml | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/content/post/2025-07-19-zine-migration.smd b/content/post/2025-07-19-zine-migration.smd index 23ebfa3..1c74945 100644 --- a/content/post/2025-07-19-zine-migration.smd +++ b/content/post/2025-07-19-zine-migration.smd @@ -170,21 +170,21 @@ Zine 布局有几个关键特性: // file: layouts/post.shtml diff --git a/layouts/post.shtml b/layouts/post.shtml index e889742..404da3b 100644 --- a/layouts/post.shtml +++ b/layouts/post.shtml @@ -1,17 +1,17 @@ - + - + - +
From d08965469ee6493b22af533b9cb2e2f043beb541 Mon Sep 17 00:00:00 2001 From: xihale Date: Tue, 20 Jan 2026 09:47:13 +0800 Subject: [PATCH 3/3] fix: use mermaid.run --- layouts/post.shtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/post.shtml b/layouts/post.shtml index 404da3b..08111ec 100644 --- a/layouts/post.shtml +++ b/layouts/post.shtml @@ -11,7 +11,7 @@ - +