1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-14 05:04:16 +01:00
nanorc/html.nanorc

12 lines
425 B
Plaintext
Raw Normal View History

2011-06-15 12:35:47 +02:00
## Here is a short improved example for HTML.
2010-07-29 00:15:43 +02:00
##
syntax "HTML" "\.htm[l]?$"
2011-06-15 12:35:47 +02:00
color brightblue start="<" end=">"
2010-07-29 00:15:43 +02:00
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="-->"
2016-12-06 22:03:16 +01:00
## Trailing spaces
color ,green "[[:space:]]+$"