Assuming that your question really reads
How can you enable Python highlighter in HTML?
the answer is that, to my best knowledge, you can't... easily. But using a little trick you will be able to do this. Here's how:
1) Environment > Options.. > Source > Enable multiple highlighters in HTML must be "on" (of course)
There's "Set" button, unfortunately, there's no Python listed. Luckily, ASP uses same tags as Python, i.e. <% %> (not {% %}). Alas, you can't just switch ASP highlighter to Python.syx, since this isn't remembered. So you need to navigate to RJ TE "syntax" directory:
a) on Windows 7 it's C:\Users\{username}\AppData\Roaming\RJ TextEd\syntax
b) on Wndows XP it's C:\Documents and Settings\{username}\Application Data\RJ TextEd\syntax
2) in order to rename python.syx to ASP.syx and python.ini to ASP.ini
3) then you need to edit ASP.ini to make its header look like this:
[MultiHighlight]
Syntax=Html
File=Html.syx
ASPLanguage=
4) and finally restart RJ TE.
VoilĂ , you have now Python syntax highlighted
Rickard,
1) I assume that it is a bug that syntax file isn't remembered after restart (see above)
2) adding direct support for Python highlighter in HTML will be much welcomed