syntax "Markdown" "\.(md|mkd|mkdn|markdown)$" # Tables (Github extension) color cyan ".*[ :]\|[ :].*" # quotes color black start="^>" end="^$" color black "^>.*" # Emphasis color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)" # Strong emphasis color green "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)" # strike-through color red "(^|[[:space:]])~~[^ ][^~]*~~" # horizontal rules color magenta "^(---+|===+|___+|\*\*\*+)\s*$" # headlines color magenta "^#{1,6}.*" # lists color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. " # leading whitespace color black "^[[:space:]]+" # misc color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])" # links color blue "\[[^]]+\]" color blue "\[([^][]|\[[^]]*\])*\]\([^)]+\)" # images color magenta "!\[[^][]*\](\([^)]+\)|\[[^]]+\])" # urls color yellow "https?://[^ )>]+" # code color yellow "`[^`]*`|^ {4}[^-+*].*" # code blocks color yellow start="^```[^$]" end="^```$" color yellow "^```$" ## Trailing spaces color ,green "[[:space:]]+$"