1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00
nanorc/html.nanorc
CoffeeTableEnnui e530684df4 Update html.nanorc
Added comment highlighting.  Added more common attributes.
2016-09-01 17:04:06 -07:00

9 lines
376 B
Plaintext

## Here is a short improved example for HTML.
##
syntax "HTML" "\.htm[l]?$"
color brightblue 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="-->"