smol/doc/syntax/html.nanorc

12 lines
233 B
Plaintext
Raw Normal View History

## Here is a short example for HTML.
syntax "html" "\.html?$"
magic "HTML document text"
comment "<!--|-->"
color cyan start="<" end=">"
color red "&[^;[:space:]]*;"
color green ""(\\.|[^"])*""
color yellow start="<!--" end="-->"