Edditoria / markdown-plus-plus

Markdown syntax highlighting for Notepad++, by customized UDL file (user defined language)
MIT License
1.49k stars 276 forks source link

Multiple word text formatting does not work for `_`, `__`, `___`, etc. #46

Open brycelelbach opened 4 years ago

brycelelbach commented 4 years ago

Multiple word text formatting using underscores instead of asterisks doesn't work properly. This is important to me because I need to write my markdown in a way that is mostly compatible with TWiki syntax, and TWiki and Markdown happen to share __ as a syntax for denoting important text (it's bold for Markdown, and bold with italics for TWiki).

markdown_plus_plus__multi_word_text_formatting_with_underscores_bug

I'm using Notepad++ v7.5.8 and markdown-plus-plus 81a86b4.

SmashManiac commented 4 years ago

From the readme:

_em text_, __strong text__ and ___em strong text___ only parse the first word because it will screw up some URL contains example__url.

Merge conflicts aside, does the proposed merge request #47 resolve this concern?