1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 00:25:39 +01:00

Update html.nanorc

Added comment highlighting.  Added more common attributes.
This commit is contained in:
CoffeeTableEnnui 2016-09-01 17:04:06 -07:00 committed by GitHub
parent c79521658c
commit e530684df4

View File

@ -4,4 +4,5 @@ syntax "HTML" "\.htm[l]?$"
color brightblue start="<" end=">" color brightblue start="<" end=">"
color red "&[^;[[:space:]]]*;" color red "&[^;[[:space:]]]*;"
color yellow ""[^"]*"|qq\|.*\|" color yellow ""[^"]*"|qq\|.*\|"
color red "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)=" 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="-->"