Merge 'upstream/main'

This commit is contained in:
Hugo 2025-06-03 10:40:15 +01:00
commit 2ad3dc3188
30 changed files with 270 additions and 279 deletions

View file

@ -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, '##')