2016-03-21 19:16:02 +03:00
|
|
|
## For reST
|
|
|
|
syntax "RST" "\.rest$" "\.rst$"
|
|
|
|
# italics
|
|
|
|
#color magenta "\*[^*]\*"
|
|
|
|
# bold
|
|
|
|
color red "\*\*[^*]+\*\*"
|
|
|
|
# code block
|
|
|
|
color brightred "::"
|
|
|
|
# link reference
|
|
|
|
color blue "`[^`]+`_{1,2}"
|
|
|
|
# code
|
|
|
|
color yellow "``[^`]+``"
|
2016-03-25 23:41:36 +03:00
|
|
|
# directives or comments
|
2016-03-21 19:16:02 +03:00
|
|
|
color cyan "^\.\. .*$"
|
|
|
|
# anon link targets
|
|
|
|
color cyan "^__ .*$"
|
|
|
|
# h1
|
|
|
|
color yellow "^###+$"
|
|
|
|
color yellow "^\*\*\*+$"
|
|
|
|
# h2
|
|
|
|
color magenta "^===+$"
|
|
|
|
# h3
|
|
|
|
color red "^---+$"
|
|
|
|
# h4
|
|
|
|
color green "^\^\^\^+$"
|
|
|
|
# h5
|
|
|
|
color blue "^"""+$"
|