From 793e6b538c95c54c647f7127d634818547028999 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 30 Jun 2026 07:06:07 +0800 Subject: feat(docs): add @@@ hidden code block support for compile-tested examples --- docs/_zh_CN/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/_zh_CN/index.html') diff --git a/docs/_zh_CN/index.html b/docs/_zh_CN/index.html index 12cde6c..7adaa98 100644 --- a/docs/_zh_CN/index.html +++ b/docs/_zh_CN/index.html @@ -63,6 +63,16 @@ depth: 2, }, plugins: [ + function (hook) { + hook.beforeEach(function (content) { + return content + .split("\n") + .filter(function (line) { + return !line.startsWith("@@@"); + }) + .join("\n"); + }); + }, [ "flexible-alerts", { -- cgit