Update MarkDown file style
This commit is contained in:
parent
cea22f2cc0
commit
a8475102d3
@ -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(' '),
|
||||
})
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user