Update MarkDown file style

This commit is contained in:
thehrz 2023-06-26 15:04:13 +08:00
parent cea22f2cc0
commit a8475102d3
No known key found for this signature in database
GPG Key ID: 683658B4CAC43158
2 changed files with 2 additions and 2 deletions

View File

@ -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(' '),
})

View File

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