In html major mode, Emacs is programmed to syntax highlight html character entity references (i.e., character references specified by name, e.g., ) but not, for some reason, numeric character references (e.g.,   or  ). I guess this is a special case of the more general problem of customizing syntax highlight in a given mode. I imagine it involves some use of regexes. Can someone give me some guidance on how get started with this?
In html major mode, Emacs is programmed to syntax highlight html character entity references
Share
Following code snippet should help you:
but it should be put after loading of
sgml-modethat provideshtml-mode. You can force loading with following command: