mirror of
https://github.com/fmhy/edit.git
synced 2026-01-17 17:31:18 +11:00
Removed fallbacks
This commit is contained in:
parent
7ce91ca8cb
commit
0df53200fa
1 changed files with 0 additions and 2 deletions
|
|
@ -334,10 +334,8 @@ export function transform(text: string): string {
|
|||
.replace(/🌐/g, ':globe-with-meridians: ')
|
||||
.replace(/↪/g, ':repeat-button: ')
|
||||
// Replace note/warning/tip
|
||||
.replace(/^\*\*Note\*\* - (.+)$/gm, ':::tip\n$1\n:::')
|
||||
.replace(/^\* \*\*Note\*\* - (.+)$/gm, ':::tip\n$1\n:::')
|
||||
.replace(/^Note - (.+)$/gm, ':::tip\n$1\n:::')
|
||||
.replace(/^\*\*Warning\*\* - (.+)$/gm, ':::warning\n$1\n:::')
|
||||
.replace(/^\* \*\*Warning\*\* - (.+)$/gm, ':::warning\n$1\n:::')
|
||||
.replace(/^\*\s([^*])/gm, '- $1')
|
||||
// Replace links
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue