Skip to content

Commit 3367248

Browse files
committed
chore: preload diff language
1 parent 051cdfa commit 3367248

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/server/api/highlight.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export default defineLazyEventHandler(async () => {
5656
theme: theme?.default || theme || 'dark-plus',
5757
langs: [
5858
...(preload || []),
59+
'diff',
5960
'json',
6061
'js',
6162
'ts',

0 commit comments

Comments
 (0)