1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-07 02:00:01 +01:00
nanorc/html.nanorc

9 lines
376 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="-->"