markdown-to-jsx
markdown-to-jsx copied to clipboard
/n inside bold breaks the bold
Example markdown: "**Some bold text with\n new line**"
This will display as "**Some bold text with new line" (showing the asterisks)
@probablyup any thoughts on this? I ran into the same issue with italics.
There also seems to be some inconsistencies.
*hello
world*
results in:
*hello world*
but
**hello
world**
results in:
**hello world
*
s and _
s are very common in mathematics. Is there a way to turn this off?
*
s and_
s are very common in mathematics. Is there a way to turn this off?
I would recommend using code blocks for things that contain markdown-like syntax.
*
s and_
s are very common in mathematics. Is there a way to turn this off?I would recommend using code blocks for things that contain markdown-like syntax.
you're right