Forum Archive

Highlighting HTML Comments

MartinPacker

I'd like to highlight HTML comments 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.

omz

The syntax highlighting isn't customizable, I'm afraid.

MartinPacker

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.