nanorc/xml.nanorc
2016-12-06 22:19:02 +01:00

15 lines
330 B
Plaintext

## Here is an example for xml files.
##
syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng)$"
color white "^.+$"
color green start="<" end=">"
color cyan "<[^> ]+"
color cyan ">"
color yellow start="<!DOCTYPE" end="[/]?>"
color yellow start="<!--" end="-->"
color red "&[^;]*;"
## Trailing spaces
color ,green "[[:space:]]+$"