mirror of
https://github.com/scopatz/nanorc
synced 2024-10-31 23:00:00 +01:00
more asciidoc fixes
This commit is contained in:
parent
9611872cd2
commit
b1b372c916
@ -1,5 +1,9 @@
|
|||||||
syntax "asciidoc" "\.(asc|asciidoc)$"
|
syntax "asciidoc" "\.(asc|asciidoc)$"
|
||||||
|
|
||||||
|
# anchors
|
||||||
|
color brightwhite "\[\[.*\]\]"
|
||||||
|
color brightwhite "<<.*>>"
|
||||||
|
|
||||||
# main header
|
# main header
|
||||||
color red "^====+$"
|
color red "^====+$"
|
||||||
# h1
|
# h1
|
||||||
@ -29,12 +33,12 @@ color magenta "^\[(source,.+|NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]"
|
|||||||
|
|
||||||
# Other markup
|
# 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 yellow "'[^']+'"
|
||||||
|
|
||||||
color cyan "`{1,2}.+'{1,2}"
|
color cyan "`{1,2}[^']+'{1,2}"
|
||||||
|
Loading…
Reference in New Issue
Block a user