Skip to content

Commit 24a413b

Browse files
committed
build(docs): select content code highlight langs
1 parent 5db3ec2 commit 24a413b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/nuxt.config.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,28 @@ export default defineNuxtConfig({
2525
routeRules: {
2626
'/api/search.json': { prerender: true },
2727
},
28+
content: {
29+
highlight: {
30+
langs: [
31+
'js',
32+
'jsx',
33+
'json',
34+
'ts',
35+
'tsx',
36+
'vue',
37+
'css',
38+
'html',
39+
'vue',
40+
'bash',
41+
'md',
42+
'mdc',
43+
'yml',
44+
'yaml',
45+
'dockerfile',
46+
'csharp',
47+
],
48+
},
49+
},
2850
devtools: {
2951
enabled: true,
3052
},

0 commit comments

Comments
 (0)