We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32bf1f commit e996904Copy full SHA for e996904
packages/gitbook/src/components/DocumentView/CodeBlock/highlight.ts
@@ -39,7 +39,7 @@ const { getSingletonHighlighter } = createSingletonShorthands(
39
createdBundledHighlighter<any, any>({
40
langs: bundledLanguages,
41
themes: {},
42
- engine: () => createJavaScriptRegexEngine({ forgiving: true, target: 'ES2024' }),
+ engine: () => createJavaScriptRegexEngine({ forgiving: true, target: 'ES2018' }),
43
})
44
);
45
0 commit comments