From a8475102d3895f8d933d4b6f3b12ddabb53c6079 Mon Sep 17 00:00:00 2001 From: thehrz Date: Mon, 26 Jun 2023 15:04:13 +0800 Subject: [PATCH] Update MarkDown file style --- unocss.config.ts | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unocss.config.ts b/unocss.config.ts index 7f52bf3..85983fd 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -27,5 +27,5 @@ export default defineConfig({ presetTypography(), ], transformers: [transformerDirectives(), transformerVariantGroup()], - safelist: 'm-auto prose max-w-100ch mt-5'.split(' '), + safelist: 'prose max-w-100ch mt-5'.split(' '), }) diff --git a/vite.config.ts b/vite.config.ts index 132489b..8e6d65b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -80,7 +80,7 @@ export default defineConfig({ // https://github.com/antfu/vite-plugin-vue-markdown // Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite Markdown({ - wrapperClasses: 'm-auto prose max-w-100ch mt-5', + wrapperClasses: 'prose max-w-100ch mt-5', headEnabled: true, markdownItSetup(md) { // https://prismjs.com/