From 185e704249b3257b883d6fcf46437f2b1c6db89b Mon Sep 17 00:00:00 2001
From: 魏曹先生 <1992414357@qq.com>
Date: Thu, 9 Jul 2026 20:43:26 +0800
Subject: feat(docs): add flexible-alerts plugin and callout styles
---
docs/dev-docs/index.html | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
(limited to 'docs/dev-docs/index.html')
diff --git a/docs/dev-docs/index.html b/docs/dev-docs/index.html
index c3fd04a..e62268d 100644
--- a/docs/dev-docs/index.html
+++ b/docs/dev-docs/index.html
@@ -147,6 +147,31 @@
noData: "No matches found.",
depth: 2,
},
+ plugins: [
+ function (hook) {
+ hook.beforeEach(function (content) {
+ return content
+ .split("\n")
+ .filter(function (line) {
+ return !line.startsWith("@@@");
+ })
+ .join("\n");
+ });
+ },
+ [
+ "flexible-alerts",
+ {
+ style: "flat",
+ labels: {
+ NOTE: "Note",
+ TIP: "Tip",
+ IMPORTANT: "Important",
+ WARNING: "Warning",
+ CAUTION: "Caution",
+ },
+ },
+ ],
+ ],
};
@@ -156,6 +181,7 @@
+