Fix warning messages

This commit is contained in:
Hugo 2024-08-06 13:01:20 +00:00
parent 4424efb803
commit d7f0c6cf0e
2 changed files with 2 additions and 1 deletions

View file

@ -338,6 +338,7 @@ export function transform(text: string): string {
.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
.replace(