2
0
Fork 0
nano-syntax-archived/xml.nanorc
2015-05-02 23:15:14 -06:00

12 lines
404 B
Text

syntax "xml" "\.([jrs]html?|sgml?|xml|opml|xslt?|plist)$"
color brightmagenta start="<" end=">"
color brightblack " [a-z_-]+="
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
color brightwhite,red "&"
color magenta "&(#[0-9]+|#x[0-9a-fA-F]+|[A-Za-z][A-Za-z0-9]*);"
color cyan start="<!--" end="-->"
color cyan start="<!DOCTYPE" end=">"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# +EXTRALINT