diff --git a/src/runtime/server/api/highlight.ts b/src/runtime/server/api/highlight.ts index 25692374c..40938a2f9 100644 --- a/src/runtime/server/api/highlight.ts +++ b/src/runtime/server/api/highlight.ts @@ -55,7 +55,12 @@ export default defineLazyEventHandler(async () => { const highlighter = await getHighlighter({ theme: theme?.default || theme || 'dark-plus', langs: [ - ...(preload || ['json', 'js', 'ts', 'css']), + ...(preload || []), + 'diff', + 'json', + 'js', + 'ts', + 'css', 'shell', 'html', 'md',