mirror of
https://github.com/fmhy/edit.git
synced 2025-08-02 17:22:14 +10:00
Merge branch 'main' into redesign
This commit is contained in:
commit
13d38a728f
26 changed files with 314 additions and 309 deletions
|
@ -204,6 +204,7 @@ export function transform(text: string): string {
|
|||
.replace(/.25BA_/g, '')
|
||||
.replace(/.25B7_/g, '')
|
||||
.replace(/_.2F_/g, '-')
|
||||
.replace(/_?.26amp.3B_?/g, '-')
|
||||
|
||||
_text = replaceUnderscore(_text)
|
||||
.replace(/\/#(\d)/g, '/#_$1') // Prefix headings starting with numbers
|
||||
|
@ -215,7 +216,6 @@ export function transform(text: string): string {
|
|||
.replace(/## ▷/g, '###')
|
||||
.replace(/####/g, '###')
|
||||
// Replace emojis
|
||||
.replace(/🌟/g, ':glowing-star:')
|
||||
.replace(/⭐/g, ':star:')
|
||||
.replace(/🌐/g, ':globe-with-meridians:')
|
||||
.replace(/↪/g, ':repeat-button:')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue