Update MarkDown file style
This commit is contained in:
parent
cea22f2cc0
commit
a8475102d3
@ -27,5 +27,5 @@ export default defineConfig({
|
|||||||
presetTypography(),
|
presetTypography(),
|
||||||
],
|
],
|
||||||
transformers: [transformerDirectives(), transformerVariantGroup()],
|
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
|
// https://github.com/antfu/vite-plugin-vue-markdown
|
||||||
// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite
|
// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite
|
||||||
Markdown({
|
Markdown({
|
||||||
wrapperClasses: 'm-auto prose max-w-100ch mt-5',
|
wrapperClasses: 'prose max-w-100ch mt-5',
|
||||||
headEnabled: true,
|
headEnabled: true,
|
||||||
markdownItSetup(md) {
|
markdownItSetup(md) {
|
||||||
// https://prismjs.com/
|
// https://prismjs.com/
|
||||||
|
Loading…
Reference in New Issue
Block a user