mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
chore: upgrade dependencies (#8534)
* chore: upgrade dependencies * FIxes * Bump again
This commit is contained in:
parent
64c6b5c100
commit
e8a07633ba
51 changed files with 3126 additions and 3144 deletions
|
@ -98,7 +98,7 @@ export function createExcerpt(fileString: string): string | undefined {
|
|||
// Remove Title headers
|
||||
.replace(/^#[^#]+#?/gm, '')
|
||||
// Remove Markdown + ATX-style headers
|
||||
.replace(/^#{1,6}\s*(?<text>[^#]*)\s*#{0,6}/gm, '$1')
|
||||
.replace(/^#{1,6}\s*(?<text>[^#]*?)\s*#{0,6}/gm, '$1')
|
||||
// Remove emphasis.
|
||||
.replace(/(?<opening>[*_]{1,3})(?<text>.*?)\1/g, '$2')
|
||||
// Remove strikethroughs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue