From b1b372c916c06da158c689372b930c1aa0dae8f4 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Sun, 23 Feb 2014 11:50:40 -0600 Subject: [PATCH] more asciidoc fixes --- asciidoc.nanorc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/asciidoc.nanorc b/asciidoc.nanorc index 5b97a3f..37e6453 100644 --- a/asciidoc.nanorc +++ b/asciidoc.nanorc @@ -1,5 +1,9 @@ syntax "asciidoc" "\.(asc|asciidoc)$" +# anchors +color brightwhite "\[\[.*\]\]" +color brightwhite "<<.*>>" + # main header color red "^====+$" # h1 @@ -29,12 +33,12 @@ color magenta "^\[(source,.+|NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]" # Other markup color yellow ".*\+$" -color yellow "_.+_" -color yellow "\*.+\*" -color yellow "\+.+\+" -color yellow "`.+`" -color yellow "\^.+\^" -color yellow "~.+~" -color yellow "'.+'" +color yellow "_[^_]+_" +color yellow "\*[^\*]+\*" +color yellow "\+[^\+]+\+" +color yellow "`[^`]+`" +color yellow "\^[^\^]+\^" +color yellow "~[^~]+~" +color yellow "'[^']+'" -color cyan "`{1,2}.+'{1,2}" +color cyan "`{1,2}[^']+'{1,2}"