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.
options.twoslashOptions
createTwoslasher
1 parent be74312 commit 75832e1Copy full SHA for 75832e1
packages/vitepress-twoslash/src/index.ts
@@ -40,7 +40,7 @@ export function transformerTwoslash(options: VitePressPluginTwoslashOptions = {}
40
}
41
42
const twoslash = createTransformerFactory(
43
- createTwoslasher(),
+ createTwoslasher(options.twoslashOptions),
44
)({
45
langs: ['ts', 'tsx', 'js', 'jsx', 'json', 'vue'],
46
renderer: rendererFloatingVue(options),
0 commit comments