smol/doc/syntax/html.nanorc

9 lines
177 B
Plaintext

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