Commit 10a18c14 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Better colouring expressions for HTML.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4593 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 9 additions and 3 deletions
+9 -3
2014-02-22 Lauri Kasanen <laxy@Savannah> (tiny change)
* doc/syntax/html.nanorc - Also recognize htm as extension,
use cyan for tags (more visible on dark background), correct
the expression for ampersand codes, and colour strings too.
2014-02-22 Dennis Jenkins <dennisjenkins@Savannah> (tiny change)
* doc/syntax/c.nanorc - Also recognize c++ as extension.
......
## Here is a short example for HTML.
##
syntax "html" "\.html$"
syntax "html" "\.html?$"
magic "HTML document text"
color blue start="<" end=">"
color red "&[^;[[:space:]]]*;"
color cyan start="<" end=">"
color red "&[^;[:space:]]*;"
color green ""(\\.|[^"])*""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment