Open BobbieGoede opened 1 month ago
Highlight is disabled by default, you need to enable it in nuxt.config.ts
:
content: {
highlight: {
theme: 'github-light'
}
}
Also for inline code you need to specify the language:
`const y: string = "Hello, world!";`{lang="ts"}
Environment
n/a (could not copy output in stackblitz)
Reproduction
https://stackblitz.com/edit/github-c2mjun?file=content%2Findex.md
Describe the bug
This can be seen in the documentation as well:
The code/preview implies it should have syntax highlighting.
Additional context
Somehow I could not find an existing issue about this 😅 sorry if this is a duplicate!
Logs
No response