gomarkdown / markdown

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

No extension for italic syntax? #246

Closed CaledoniaProject closed 2 years ago

CaledoniaProject commented 2 years ago

Does gomarkdown support italic syntax?

_test_

This is not rendered, it should be rendered as test

miekg commented 2 years ago

this just works fine:

% ./mmark -html -fragment <(echo '_hello_') 
<p><em>hello</em></p>

(with incomplete bug reports like this, it's impossible to help, because you don't provide any context)

CaledoniaProject commented 2 years ago

I found the problem, the input is _test _ here. I didn't notice the extra space in my test case.