diff options
Diffstat (limited to 'doc/syntax/html.nanorc')
-rw-r--r-- | doc/syntax/html.nanorc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/syntax/html.nanorc b/doc/syntax/html.nanorc index d31467d..8782dc3 100644 --- a/doc/syntax/html.nanorc +++ b/doc/syntax/html.nanorc @@ -1,5 +1,8 @@ ## Here is a short example for HTML. -## -syntax "html" "\.html$" -color blue start="<" end=">" -color red "&[^;[[:space:]]]*;" + +syntax "html" "\.html?$" +magic "HTML document text" + +color cyan start="<" end=">" +color red "&[^;[:space:]]*;" +color green ""(\\.|[^"])*"" |