diff --git a/.changeset/spicy-queens-compete.md b/.changeset/spicy-queens-compete.md new file mode 100644 index 0000000..138a0a1 --- /dev/null +++ b/.changeset/spicy-queens-compete.md @@ -0,0 +1,5 @@ +--- +"vitepress-plugin-shiki-twoslash": patch +--- + +Added support for custom theme configurations diff --git a/src/plugin.ts b/src/plugin.ts index db109c2..fdf84b7 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -5,7 +5,7 @@ export type TwoslashConfigSettings = Prettify< Parameters[3] > -export async function withTwoslash(config: UserConfig) { +export async function withTwoslash(config: UserConfig) { const { setupForFile, transformAttributesToHTML } = await import( 'remark-shiki-twoslash' )