From 4967b4943059f3a71001a6395763bad10f1446e5 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Thu, 18 Aug 2022 11:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=EF=BC=9AVitePress=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7=E4=B8=BA=20v1.0.0-alpha.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config/markdown.ts | 2 +- docs/.vitepress/theme/MyLayout.vue | 4 +- docs/.vitepress/theme/components/Comment.vue | 2 +- .../.vitepress/theme/components/Copyright.vue | 2 +- docs/.vitepress/theme/components/Footer.vue | 4 +- .../.vitepress/theme/components/WordCloud.vue | 23 +- docs/.vitepress/theme/utils.ts | 4 +- docs/archives.md | 4 +- docs/tags.md | 4 +- docs/vite.config.js | 2 +- package.json | 5 +- yarn.lock | 404 +++++++++--------- 12 files changed, 227 insertions(+), 233 deletions(-) diff --git a/docs/.vitepress/config/markdown.ts b/docs/.vitepress/config/markdown.ts index 5637ff3b9..aecb0c79f 100644 --- a/docs/.vitepress/config/markdown.ts +++ b/docs/.vitepress/config/markdown.ts @@ -12,7 +12,7 @@ export const markdown: MarkdownOptions = { config: (md) => { md.renderer.rules.heading_close = (tokens, idx, options, env, slf) => { let htmlResult = slf.renderToken(tokens, idx, options, env, slf) - if (tokens[idx].tag === 'h1') htmlResult += `\n` + if (tokens[idx].tag === 'h1') htmlResult += `\n` return htmlResult } } diff --git a/docs/.vitepress/theme/MyLayout.vue b/docs/.vitepress/theme/MyLayout.vue index 2303d8dd5..575f80feb 100644 --- a/docs/.vitepress/theme/MyLayout.vue +++ b/docs/.vitepress/theme/MyLayout.vue @@ -1,7 +1,9 @@