mirror of
https://github.com/scopatz/nanorc
synced 2025-04-11 16:10:05 +02:00
Merge a22418d7a6b1fa17cd4254f7ab5f531c3530b5a2 into 82e70080bfb0a2ca6590d33f682a201d1b19fcff
This commit is contained in:
commit
3e5d90d022
@ -6,12 +6,27 @@ color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
|
||||
# Strong emphasis
|
||||
color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
|
||||
|
||||
# headlines
|
||||
color brightmagenta "^=====*$|^-----*$|^#{1,6}.*"
|
||||
|
||||
# lists
|
||||
color blue "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
|
||||
|
||||
# leading whitespace
|
||||
color black "^[[:space:]]+"
|
||||
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($$)"
|
||||
|
||||
# misc
|
||||
color magenta "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
|
||||
|
||||
# images
|
||||
color brightyellow "\!?\[[^]]*\]([[:space:]]*\[[^]]*\]|\(.*\))?"
|
||||
|
||||
# links
|
||||
color brightyellow "^\[.*\]:[[:space:]]*[^"]*"
|
||||
|
||||
# code
|
||||
color yellow "`[^`]*`|^ {4}[^-+*].*"
|
||||
|
||||
# quotes
|
||||
color brightblack "^>.*"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user