1
0
mirror of https://github.com/scopatz/nanorc synced 2024-10-31 23:00:00 +01:00
nanorc/reST.nanorc

28 lines
470 B
Plaintext
Raw Normal View History

2010-07-29 00:15:43 +02:00
## For reST
syntax "RST" "\.rest$" "\.rst$"
2010-07-29 00:15:43 +02:00
# italics
#color magenta "\*[^*]\*"
# bold
color red "\*\*[^*]+\*\*"
# code block
color brightred "::"
# link reference
color blue "`[^`]+`_{1,2}"
# code
color yellow "``[^`]+``"
# directives or comments
color cyan "^\.\. .*$"
# anon link targets
color cyan "^__ .*$"
# h1
color yellow "^###+$"
color yellow "^\*\*\*+$"
# h2
color magenta "^===+$"
# h3
color red "^---+$"
# h4
color green "^\^\^\^+$"
# h5
color blue "^"""+$"