1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-25 01:45:39 +01:00
This commit is contained in:
Anthony Scopatz 2014-03-04 21:52:19 -06:00
parent b1b372c916
commit c98a379e0c

View File

@ -1,9 +1,5 @@
syntax "asciidoc" "\.(asc|asciidoc)$" syntax "asciidoc" "\.(asc|asciidoc)$"
# anchors
color brightwhite "\[\[.*\]\]"
color brightwhite "<<.*>>"
# main header # main header
color red "^====+$" color red "^====+$"
# h1 # h1
@ -32,7 +28,7 @@ color yellow "^\..*$"
color magenta "^\[(source,.+|NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]" color magenta "^\[(source,.+|NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]"
# Other markup # Other markup
color yellow ".*\+$" color yellow ".*[[:space:]]\+$"
color yellow "_[^_]+_" color yellow "_[^_]+_"
color yellow "\*[^\*]+\*" color yellow "\*[^\*]+\*"
color yellow "\+[^\+]+\+" color yellow "\+[^\+]+\+"
@ -42,3 +38,10 @@ color yellow "~[^~]+~"
color yellow "'[^']+'" color yellow "'[^']+'"
color cyan "`{1,2}[^']+'{1,2}" color cyan "`{1,2}[^']+'{1,2}"
# bullets
color brightmagenta "^[[:space:]]*[\*\.-]{1,5}[[:space:]]"
# anchors
color brightwhite "\[\[.*\]\]"
color brightwhite "<<.*>>"