patleeman / quill-markdown-shortcuts

Quill.js module that converts markdown to rich text formatting while typing.
https://patleeman.github.io/quill-markdown-shortcuts/
140 stars 49 forks source link

Text in SNAKE_CASE gets converted to italic #38

Closed bartram2 closed 4 years ago

bartram2 commented 4 years ago

When using snake case with three or more words, the inner words get converted to italic. For example, I_LIKE_CHEESE becomes ILIKECHEESE.

According to this Markdown Guide:

Markdown applications don’t agree on how to handle underscores in the middle of a word. For compatibility, use asterisks to bold the middle of a word for emphasis.

(note GitHub's markdown editor does not add emphasis to the middle of the example above).

bartram2 commented 4 years ago

PR #36