nanorc/html.nanorc
2018-08-09 10:09:19 +02:00

12 lines
419 B
Plaintext

## Here is a short improved example for HTML.
##
syntax "HTML" "\.htm[l]?$"
color blue start="<" end=">"
color red "&[^;[[:space:]]]*;"
color yellow ""[^"]*"|qq\|.*\|"
color red "(action|alt|bgcolor|height|href|id|label|longdesc|method|name|onclick|onfocus|onload|onmouseover|rel|size|span|src|style|target|title|type|value|width)="
color magenta start="<!--" end="-->"
## Trailing spaces
color ,green "[[:space:]]+$"