mirror of
https://github.com/scopatz/nanorc
synced 2024-11-09 11:09:59 +01:00
28 lines
471 B
Plaintext
28 lines
471 B
Plaintext
|
## For reST
|
||
|
syntax "rest" "\.rest$" "\.rst$"
|
||
|
# 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 "^"""+$"
|