Sublime Forum

Need syntax highlighting for custom lanuage in HTML

#1

Hi, I am working with a custom language within .htm and .html files, I’ve been messing around with the .tmLanguage files and following some tutorials but I just can’t get it to work.

Here are the specs:
Code beings with <%
Ends with %>
Or short statements (echo like) within <%= (expr) %>

The language itself is so similar to javascript that it would be nice to just get javascript between <% %> brackets.

Can I get some help?
Thanks,
Jim

P.S. I want to include all normal html color formatting as well.

0 Likes