Skip to content

Commit 5641ddf

Browse files
authored
Merge pull request #721 from icflorescu/next
Add json language highlighting to shiki for docs website
2 parents bdb3f6b + e24e289 commit 5641ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ShikiCodeHighlightProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { PropsWithChildren } from 'react';
66
async function loadShiki() {
77
const { createHighlighter } = await import('shiki');
88
const shiki = await createHighlighter({
9-
langs: ['ts', 'tsx', 'css', 'shell'],
9+
langs: ['ts', 'tsx', 'json', 'css', 'shell'],
1010
themes: [],
1111
});
1212

0 commit comments

Comments
 (0)