You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
turndown uses _ by default for emphasis (italic text), but this doesn't work within a word.
Bru<em>ss</em>el<em>s</em> is spelled with 3 <em>s</em>'s.
Rendered:
Brussels is spelled with 3 s's.
Converted to markdown:
Bru_ss_el_s_ is spelled with 3 _s_'s.
Markdown rendered with CommonMark:
Bru_ss_el_s_ is spelled with 3 s's.
The problem is that CommonMark only recognizes underscores at word boundaries. To make emphasis work in the above situation, * should be used by default, which CommonMark recognizes even within a word:
Bru*ss*el*s* is spelled with 3 *s*'s.
The text was updated successfully, but these errors were encountered:
za3k
added a commit
to za3k/turndown
that referenced
this issue
Jul 16, 2024
turndown uses
_
by default for emphasis (italic text), but this doesn't work within a word.Rendered:
Brussels is spelled with 3 s's.
Converted to markdown:
Markdown rendered with CommonMark:
Bru_ss_el_s_ is spelled with 3 s's.
The problem is that CommonMark only recognizes underscores at word boundaries. To make emphasis work in the above situation,
*
should be used by default, which CommonMark recognizes even within a word:The text was updated successfully, but these errors were encountered: