1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-14 13:14:16 +01:00
nanorc/markdown.nanorc

18 lines
597 B
Plaintext
Raw Normal View History

2013-06-01 22:59:28 +02:00
syntax "markdown" "\.(md|mkd|mkdn|markdown)$"
# Emphasis
color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
# Strong emphasis
color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
color brightmagenta "^=====*$|^-----*$|^#{1,6}.*"
color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
color black "^[[:space:]]+"
2013-07-15 23:39:41 +02:00
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($$)"
2013-06-01 22:59:28 +02:00
color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
color yellow "`[^`]*`|^ {4}[^-+*].*"
color brightblack "^>.*"