reST.nanorc 471 B

12345678910111213141516171819202122232425262728
  1. ## For reST
  2. syntax "rest" "\.rest$" "\.rst$"
  3. # italics
  4. #color magenta "\*[^*]\*"
  5. # bold
  6. color red "\*\*[^*]+\*\*"
  7. # code block
  8. color brightred "::"
  9. # link reference
  10. color blue "`[^`]+`_{1,2}"
  11. # code
  12. color yellow "``[^`]+``"
  13. # directives or comments
  14. color cyan "^\.\. .*$"
  15. # anon link targets
  16. color cyan "^__ .*$"
  17. # h1
  18. color yellow "^###+$"
  19. color yellow "^\*\*\*+$"
  20. # h2
  21. color magenta "^===+$"
  22. # h3
  23. color red "^---+$"
  24. # h4
  25. color green "^\^\^\^+$"
  26. # h5
  27. color blue "^"""+$"