aleclarson / markdown-ast

Tiny markdown parser
MIT License
40 stars 2 forks source link

Ignore underscores in certain places #3

Closed aleclarson closed 2 years ago

aleclarson commented 5 years ago

Avoid opening italic or bold blocks when the first underscore is not preceded by whitespace. We should assume it's part of a word.

a_b_c would be interpreted as { type: 'text', text: 'a_b_c' }

aleclarson commented 2 years ago

Fixed in v0.3.0