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 @@