Django template syntax highlighting
Posted: Sat Feb 27, 2010 2:34 pm
Does anyone know how feasible it would to get TextPad to syntax highlight Django templates?
Using html.syn works fairly well, but the Django template elements are just colored as text rather than as a "special" item.
Mostly it would need to colorize anything that looked like either of these:
I looked at the help that explains the .syn files but it wasn't obvious how to get it to colorize something of the {%...%} or {{...}} form.
Any help?
Using html.syn works fairly well, but the Django template elements are just colored as text rather than as a "special" item.
Mostly it would need to colorize anything that looked like either of these:
Code: Select all
{% block content %}
{{ blog.title }}
Any help?