forked from scopatz/nanorc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
syntax "asciidoc" "\.(asc|asciidoc)$" | ||
|
||
# main header | ||
color red "^====+$" | ||
# h1 | ||
color red "^==[[:space:]].*$" | ||
color red "^----+$" | ||
# h2 | ||
color magenta "^===[[:space:]].*$" | ||
color magenta "^~~~~+$" | ||
# h4 | ||
color green "^====[[:space:]].*$" | ||
color green "^\^\^\^\^+$" | ||
# h5 | ||
color brightblue "^=====[[:space:]].*$" | ||
color brightblue "^\+\+\+\++$" | ||
|
||
# attributes | ||
color brightgreen ":.*:" | ||
color brightred "\{[a-z0-9]*\}" | ||
color red "\\\{[a-z0-9]*\}" | ||
color red "\+\+\+\{[a-z0-9]*\}\+\+\+" | ||
|
||
# Paragraph Title | ||
color yellow "^\..*$" | ||
|
||
# source | ||
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 cyan "`{1,2}.+'{1,2}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters