• Chris Allegretta's avatar
    New syntax highlighting from Mike F. Credits: · deb34f27
    Chris Allegretta authored
    awk.nanorc by Donnie Berkholz <dberkholz@gentoo.org>
    css.nanorc by Simon Rupf <simon.rupf@int-ag.ch>
    xml.nanorc by Josef 'Jupp' Schugt <jupp@rubyforge.org>
    
    Slight tweak by chrisa on the CSS file to make the brightwhite section end on line boundary due to matching too greedily on valid CSS
    (see digg's css/111/global.css as an example)
    
    
    
    git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4254 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
    deb34f27
xml.nanorc 260 Bytes
## Here is an example for xml files.
##
syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$"
color green  start="<" end=">"
color cyan   "<[^> ]+"
color cyan   ">"
color yellow start="<!DOCTYPE" end="[/]?>"
color yellow start="<!--" end="-->"
color red    "&[^;]*;"