Merge remote-tracking branch 'baidu/master'

This commit is contained in:
2betop 2020-09-03 18:30:32 +08:00
commit d905276e50
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ glob('./docs/**/*.md', {}, function (er, docs) {
.replace(/<\!---.+-->/g, '') .replace(/<\!---.+-->/g, '')
.replace(/!?\[.*\]\(.*\)/g, '') .replace(/!?\[.*\]\(.*\)/g, '')
.replace(/\n/g, '') .replace(/\n/g, '')
.replace(/```.*```/g, '') .replace(/```[^`]*```/g, '')
.toLowerCase(), .toLowerCase(),
path: doc.slice(1).replace('.md', '') path: doc.slice(1).replace('.md', '')
}); });

File diff suppressed because one or more lines are too long