Add: nuxt content v3

This commit is contained in:
2024-11-28 22:40:16 +01:00
parent 4c42355100
commit df4aec1f28
9 changed files with 582 additions and 136 deletions

View File

@@ -34,14 +34,18 @@ export default defineNuxtConfig({
// Nuxt Content
content: {
highlight: {
theme: 'github-dark',
},
markdown: {
remarkPlugins: ['remark-math'],
rehypePlugins: {
'rehype-katex': {
output: 'mathml',
build: {
markdown: {
highlight: {
theme: 'github-dark',
},
remarkPlugins: {
'remark-math': {},
},
rehypePlugins: {
'rehype-katex': {
output: 'mathml',
},
},
},
},