jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
659 stars 96 forks source link

Breaks with a bold strings containing under-scores #96

Closed pradyunsg closed 7 years ago

pradyunsg commented 9 years ago

Markdown Extended highlights the text below incorrectly as seen in the image.

Some Text **GITHUB_USERNAME** and **GITHUB_PASSWORD** Some Text

screenshot

The issue seems to be when there are 2 bold text-segments with underscore in both of them. (This mis-highlighting is not seen when either of the under-scores are removed.)

jonschlinkert commented 8 years ago

Closing since I'm not able to reproduce and this can be caused by other packages. Here is how it looks for me:

screen shot 2015-10-12 at 5 34 55 am

if you or anyone else has a way for me to reproduce let me know so we can reopen and get it fixed

pradyunsg commented 8 years ago

Try it with the same text. :expressionless:

It's because of two underscores in the same line.

jonschlinkert commented 8 years ago

well that wasn't even a nuance was it lol. you're right, I have the issue as well. reopening

jonschlinkert commented 8 years ago

I think this is related https://github.com/jonschlinkert/sublime-markdown-extended/issues/61

pradyunsg commented 7 years ago

Any updates?

pradyunsg commented 7 years ago

Closing in favour of #61.