mirror of
https://github.com/scopatz/nanorc
synced 2024-12-02 14:35:54 +01:00
parent
82e70080bf
commit
a22418d7a6
|
@ -6,12 +6,27 @@ color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
|
||||||
# Strong emphasis
|
# Strong emphasis
|
||||||
color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
|
color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
|
||||||
|
|
||||||
|
# headlines
|
||||||
color brightmagenta "^=====*$|^-----*$|^#{1,6}.*"
|
color brightmagenta "^=====*$|^-----*$|^#{1,6}.*"
|
||||||
|
|
||||||
|
# lists
|
||||||
color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
|
color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
|
||||||
|
|
||||||
|
# leading whitespace
|
||||||
color black "^[[:space:]]+"
|
color black "^[[:space:]]+"
|
||||||
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($$)"
|
|
||||||
|
# misc
|
||||||
|
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
|
||||||
|
|
||||||
|
# images
|
||||||
color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
|
color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
|
||||||
|
|
||||||
|
# links
|
||||||
color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
|
color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
|
||||||
|
|
||||||
|
# code
|
||||||
color yellow "`[^`]*`|^ {4}[^-+*].*"
|
color yellow "`[^`]*`|^ {4}[^-+*].*"
|
||||||
|
|
||||||
|
# quotes
|
||||||
color brightblack "^>.*"
|
color brightblack "^>.*"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user