Closed willbeaufoy closed 9 years ago
Hhm although this actually seems to remove all underscore highlighting behaviour even if not preceeded by a word. This isn't a problem for me but a better fix would preserve highlighting behaviour.
Thanks for the attempt! Sorry I was late to respond!
Markdown uses underscores surrounding a piece of text to add emphasis, and this is reflected in this package by pink highlighing. However when underscores occur as part of a continuous bit of text (e.g. variable or function names), we don't want it to be highlighted. This fix ensures highlighting does not take place between underscores if the first underscore is preceeded by a word character.