Closed
Description
Note: could be a duplicate of #1178 (the following issue may be more detailed though)
Marked version: 0.3.19
Markdown flavor: not sure
What pain point are you perceiving?
Short strings in italics don't render properly:
_a_
_ab_
What solution are you suggesting?
n/a
Expectation
<p><em>a</em></p>
<p><em>ab</em></p>
Result
<p>_a_</p>
<p>_ab_</p>
What was attempted
The workaround is to use *
instead of _
to wrap italics. Unfortunately, formatters like Prettier enforces _
so you end up with having to do this (works in Prettier 1.12+):
<!-- prettier-ignore-start -->
_a_
_ab_
<!-- prettier-ignore-end -->
Or this if you're using prettier < 1.12
<i>a<i>
<i>ab</i>
Metadata
Metadata
Assignees
Labels
No labels