gomarkdown / markdown

markdown parser and HTML renderer for Go
Other
1.37k stars 172 forks source link

Can I render the markdown without space between styled text and raw text? #221

Closed tomoemon closed 2 years ago

tomoemon commented 2 years ago

input

*ABC*XYZ

output

*ABC*XYZ

expected output

<em>ABC</em>XYZ

github or other markdown editor behave like this. Can I realize this behavior using gomarkdown?

FYI

**ABC**XYZ

becomes

<strong>ABC</strong>XYZ
miekg commented 2 years ago

*ABC*\ XYZ seems to be a workaround