quantizor / markdown-to-jsx

🏭 The most lightweight, customizable React markdown component.
https://markdown-to-jsx.quantizor.dev/
MIT License
1.96k stars 169 forks source link

Mutli-line bold/italic text not rendering correctly #549

Closed austingreco closed 5 months ago

austingreco commented 5 months ago

Multi-line bolded text doesn't render properly. It leaves the first line with asterisks and removes them from the second line:

Input

**multi line
bold text**

Expected output (both lines bold)

multi line bold text

Actual output

multi line bold text**

Similar situation for italic, but the asterisks not left intact on both lines

*multi line italic text*

austingreco commented 5 months ago

Duplicate of #449