Hey BBEdit fans,
I do a lot of text editing for files destined for a custom CMS. This is basically HTML, but with some additional custom formatting tags and keywords, and it would be useful for me to extend the syntax highlighting for my needs to show these.
What I would like to do is start with the HTML syntax highlighting, but add in these additional tags and keywords - I'm not sure how best to approach this.
I had a look at building/customising a codeless language module. This lets me highlight my own terms but doesn't seem to handle new XML-style tags (it doesn't recognise <> as delimiters not matter what I tried) and in any case, the codeless stuff seems to be more intended for code highlighting, rather than HTML-type formats, as far as I can see.
I couldn't find a way to duplicate and modify the HTML syntax highlighting, so I expect it's something built into BBEdit and thus I can't really get at it.
Any tips or advice on how feasible this is? I'm having a dig around the various language docs, but if anyone has anything helpful to suggest, I'd appreciate it.
Thanks!