diff --git a/main.ts b/main.ts index bd3083f..7546952 100644 --- a/main.ts +++ b/main.ts @@ -147,15 +147,21 @@ function processLineBlock(source: string): string { } function applyFormatting(text: string): string { - // Replace **bold** with *bold* (with spaces) - text = text.replace(/\*\*(.*?)\*\*/g, ' *$1* '); - // Replace *italic* with _italic_ - text = text.replace(/(?