41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
syntax "markdown" "\.(md|mkd|mkdn|markdown)$"
|
|
|
|
# Resets everything back to plain text coloring.
|
|
# Can be used at the start of each theme file.
|
|
color white "^.*$"
|
|
|
|
# Emphasis
|
|
color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
|
|
|
|
# Strong emphasis
|
|
color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
|
|
|
|
color red "^=====*$|^-----*$|^#{1,6}[^#].*$"
|
|
color brightwhite "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
|
|
color white "^[[:space:]]+"
|
|
color yellow "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
|
|
color brightblue "\!?\[[^]]*\]([[:space:]]*(\[[^]]*\]|\([^)]*\)))?"
|
|
color brightblue "^\[[^]]*\]:[[:space:]]*[^"]*"
|
|
color green "`[^`]*`|^ {4}[^-+*].*"
|
|
color brightblack "^>.*"
|
|
color ,red "[[:space:]]+$"
|
|
color brightyellow " + +| + +"
|
|
|
|
# rainbow indent
|
|
color ,brightblack "^[[:space:]]{32}"
|
|
color ,black "^[[:space:]]{30}"
|
|
color ,brightblack "^[[:space:]]{28}"
|
|
color ,black "^[[:space:]]{26}"
|
|
color ,brightblack "^[[:space:]]{24}"
|
|
color ,black "^[[:space:]]{22}"
|
|
color ,brightblack "^[[:space:]]{20}"
|
|
color ,black "^[[:space:]]{18}"
|
|
color ,brightblack "^[[:space:]]{16}"
|
|
color ,black "^[[:space:]]{14}"
|
|
color ,brightblack "^[[:space:]]{12}"
|
|
color ,black "^[[:space:]]{10}"
|
|
color ,brightblack "^[[:space:]]{8}"
|
|
color ,black "^[[:space:]]{6}"
|
|
color ,brightblack "^[[:space:]]{4}"
|
|
color ,black "^[[:space:]]{2}"
|