Skip to content

Commit 38246b7

Browse files
committed
feat: Add Nuxt Content configuration with markdown highlighting support
1 parent a2ca51e commit 38246b7

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
1.59 MB
Binary file not shown.

docs-v3/nuxt.config.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ export default defineNuxtConfig({
77
'@vueuse/nuxt'
88
],
99

10+
// Nuxt Content configuration
11+
content: {
12+
build: {
13+
markdown: {
14+
highlight: {
15+
langs: [
16+
'php',
17+
'javascript',
18+
'typescript',
19+
'json',
20+
'bash',
21+
'shell',
22+
'yaml',
23+
'vue',
24+
'html',
25+
'css',
26+
'graphql',
27+
'sql',
28+
'diff'
29+
]
30+
}
31+
}
32+
}
33+
},
34+
1035
// Nuxt UI configuration for content
1136
ui: {
1237
content: true,

0 commit comments

Comments
 (0)