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 b6938a1 commit bbe553fCopy full SHA for bbe553f
packages/rehype-shiki/src/index.mjs
@@ -24,8 +24,6 @@ const { shiki, getLanguageDisplayName, highlightToHast, highlightToHtml } =
24
transformerTwoslash({
25
langs: ['ts', 'js', 'cjs', 'mjs'],
26
// throws: false,
27
- onTwoslashError: error => JSON.stringify(error),
28
- onShikiError: error => JSON.stringify(error),
29
}),
30
],
31
// We use the faster WASM engine on the server instead of the web-optimized version.
0 commit comments