Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Highlighting HTML Comments
-
I'd like to highlight HTML comments <!-- Hello World --> for example. Another (possibly paler) colour would be nice.
Any idea how to do it? I would be lovely if it were built in but I don't think it is.
That way I could leave notes about the document I was working on.
I just had to, for reasons I don't understand, force a footnote to work by shoving in a blank HTML comment line. That's what got me thinking.
-
The syntax highlighting isn't customizable, I'm afraid.
-
OK. Thanks for the swift reply.
You might in a future release want to highlight embedded HTML. Or at least comments. I think the former is easier to do than actually parsing it to find just comments. One colour for the lot.