view nanorc.d/xml.nanorc @ 96:67d3ac391320

Reduce colouring for HTML/XML attributes Just colour the string, not the attribute name
author IBBoard <dev@ibboard.co.uk>
date Mon, 02 Apr 2018 19:42:00 +0100
parents e7a2fbd79035
children 767746af2cfe
line wrap: on
line source

syntax "xml" "\.(xml|svg)$"
comment "<!--|-->"

color brightblue start="<[a-zA-Z/]" end=">"
color red "&[^;[[:space:]]]*;"
color yellow "["'][^"']*["']"
color green start="<!--" end="-->"
color magenta start="<!\[CDATA\[" end="\]\]>"