htmlarkdown
htmlarkdown copied to clipboard
Option to use underscore bold and italic
Underscore bold and italic are in the form:
__bold__, _italic_
The reason both bold and italics are currently asterisks *
only, is cuz of this edge case:
PREFIX__bold__, PREFIX_italic_
PREFIX**bold**, PREFIX*italic*
which renders as:
PREFIX__bold__, PREFIX_italic_
PREFIXbold, PREFIXitalic
The question is (or i guess "are"):
- How do we detect if a bold/italic is prefixed (without spaces inbetween)?
- What should HTMLarkdown do if its set to use underscore, and those edge cases happen?
Should it:- Use asterisks?
- or use HTML-syntax (ie.
<b>
,<i>
)