summaryrefslogtreecommitdiff
path: root/doc/syntax/html.nanorc
blob: 8782dc3642dc7b61e87bd3d2d540cbd250baf8cb (plain)
1
2
3
4
5
6
7
8
## Here is a short example for HTML.

syntax "html" "\.html?$"
magic "HTML document text"

color cyan start="<" end=">"
color red "&[^;[:space:]]*;"
color green ""(\\.|[^"])*""