mirror of
https://github.com/scopatz/nanorc
synced 2025-06-20 21:40:12 +02:00
For better organisation the nanorc files will go to a folder. The install script should translate the themed nanorc files to the final files. The install script should be the official instalation method.
28 lines
470 B
Plaintext
28 lines
470 B
Plaintext
## 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 "``[^`]+``"
|
|
# 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 "^"""+$"
|