mirror of
https://github.com/fmhy/edit.git
synced 2025-07-29 23:32:17 +10:00
Update transformer.ts
This commit is contained in:
parent
4cbec4d4d2
commit
abfcdac1ec
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ export function transform(text: string): string {
|
|||
_text = replaceUnderscore(_text)
|
||||
.replace(/\/#(\d)/g, '/#_$1') // Prefix headings starting with numbers
|
||||
.replace(/#(\d)/g, '#_$1') // Prefix headings starting with numbers
|
||||
.replace(/\/#/g, '#')
|
||||
.replace(/(\]\(\s*)\/\s*(\#[^)\s]*?\s*\))/g, '$1$2')
|
||||
.replace(/\*\*\*\n\n/gm, '')
|
||||
.replace(/\*\*\*\n/gm, '')
|
||||
.replace(/# ►/g, '##')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue