chore: fix type error
This commit is contained in:
parent
c4dd813b93
commit
7df00319ea
@ -87,7 +87,9 @@ export default defineConfig({
|
|||||||
headEnabled: true,
|
headEnabled: true,
|
||||||
markdownItSetup(md) {
|
markdownItSetup(md) {
|
||||||
// https://prismjs.com/
|
// https://prismjs.com/
|
||||||
|
// @ts-expect-error types mismatch
|
||||||
md.use(Prism)
|
md.use(Prism)
|
||||||
|
// @ts-expect-error types mismatch
|
||||||
md.use(LinkAttributes, {
|
md.use(LinkAttributes, {
|
||||||
pattern: /^https?:\/\//,
|
pattern: /^https?:\/\//,
|
||||||
attrs: {
|
attrs: {
|
||||||
|
Loading…
Reference in New Issue
Block a user