markdown.nanorc 597 B

123456789101112131415161718
  1. syntax "markdown" "\.(md|mkd|mkdn|markdown)$"
  2. # Emphasis
  3. color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
  4. # Strong emphasis
  5. color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
  6. color brightmagenta "^=====*$|^-----*$|^#{1,6}.*"
  7. color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
  8. color black "^[[:space:]]+"
  9. color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($$)"
  10. color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
  11. color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
  12. color yellow "`[^`]*`|^ {4}[^-+*].*"
  13. color brightblack "^>.*"