mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
bba53c3940
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
8 lines
312 B
Plaintext
8 lines
312 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 "(alt|bgcolor|height|href|label|longdesc|name|onclick|onfocus|onload|onmouseover|size|span|src|style|target|type|value|width)="
|