view nanorc.d/html.nanorc @ 84:b989099cde9f

Start to update Nano colourisation Defaults are REALLY basic
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Mar 2018 21:06:21 +0100
parents
children
line wrap: on
line source

## Here is a short improved example for HTML.
##
syntax "HTML" "\.htm[l]?$"
color brightblue start="<" end=">"
color red "&[^;[[:space:]]]*;"
color yellow "[^ =]+=["']?[^"']+["']"
color green start="<!--" end="-->"
color white start="<!DOCTYPE" end=">"
# xhtml
color white start="<\?xml" end="\?>"

## Trailing spaces
color ,green "[[:space:]]+$"