Skip to content

Commit

Permalink
build(docs): fix markdown-it-include
Browse files Browse the repository at this point in the history
  • Loading branch information
BuptStEve committed Jun 22, 2021
1 parent 85fd28a commit f6d7607
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ module.exports = {
extendMarkdown: (md) => {
md.use(require('markdown-it-include'), {
root: './docs/',
includeRe: /<\[include\]\((.+)\)/i,
includeRe: /<\[include\](.+)/i,
bracesAreOptional: true,
})
},
},
Expand Down

0 comments on commit f6d7607

Please sign in to comment.