Skip to content

Commit

Permalink
🐞 fix(plugin): fix markdown-it plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
bingling-sama committed Jun 23, 2024
1 parent 080c31e commit 5b20eba
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,15 +319,13 @@ export default withPwa(
},
lineNumbers: true,
config: (md) => {
// @ts-expect-error TS2769
md.use(
BiDirectionalLinks({
() => BiDirectionalLinks({
dir: "docs",
baseDir: "/",
}),
baseDir: "/"
})
),
// @ts-expect-error TS2769
md.use(InlineLinkPreviewElementTransform)
md.use(() => InlineLinkPreviewElementTransform)
},
},

Expand Down

0 comments on commit 5b20eba

Please sign in to comment.