From 063a1330d770819a62ec21e4e819f90d4bfe33b1 Mon Sep 17 00:00:00 2001 From: UnknownMp Date: Fri, 16 May 2025 09:00:12 +0800 Subject: [PATCH] =?UTF-8?q?[Feature]=20=E4=B8=BA=20Markdown=20=E5=90=AF?= =?UTF-8?q?=E7=94=A8=E8=87=AA=E5=AE=9A=E4=B9=89=20Hr=20=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index e046e4f..21279d5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -19,8 +19,11 @@ export default defineConfig({ }), vueJsx(), vueDevTools(), - markdown() - + markdown({ + markdownItSetup(md) { + md.renderer.rules.hr = () => "
" + } + }) ], resolve: { alias: {