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
660 stars 96 forks source link

make _ in middle of the word not to stop #42

Closed karelv closed 10 years ago

karelv commented 10 years ago

Works with:
italic no_italic_word _italic_stayitalic

jonschlinkert commented 10 years ago

I want to be careful with regex changes, how extensively did you test this out? thanks!

karelv commented 10 years ago

Well, I'm happy with the package you provide here. I just had to tweak it for the _ words.. I thought it would be nice if I can give something back, so I tried to give you a fork of my patch. I'm not familiar with forking and all that stuff, but I managed to do that now here :smile:. So test is manual test only, no unit test or what-so-ever...

jonschlinkert commented 10 years ago

(image for docs)

Before

image

After

image

jonschlinkert commented 10 years ago

sorry it took so long! thanks!

karelv commented 10 years ago

I'm happy that I could contribute! Thx for the merge. Bye.