Initial Commit
This commit is contained in:
19
nano/syntax/markdown.nanorc
Normal file
19
nano/syntax/markdown.nanorc
Normal file
@ -0,0 +1,19 @@
|
||||
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:]]+"
|
||||
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
|
||||
color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
|
||||
color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
|
||||
color yellow "`[^`]*`|^ {4}[^-+*].*"
|
||||
color cyan "^>.*"
|
||||
color ,green "[[:space:]]+$"
|
||||
color ,red " + +| + +"
|
||||
# +EXTRALINT
|
Reference in New Issue
Block a user