I’m trying to adjust Sublime’s Markdown syntax highlighting in three cases so that it matches the rules of a custom variant of markdown I’ve created for myself using marked.js. The new syntax is as follows:
/this should be italics/
*This should be boldface*
__This should be underline__
Ideally, it would be awesome if nested syntax was also recognised… So that something like __underline *with bold /and italic/ was* matched__.
I realise this is probably a big task, but if someone could just point me in the general direction of what needs to be adjusted, that would be a huge help! The complexity of Sublime’s syntax highlighting system is impressive, but it makes getting started with tweaking it a bit daunting…