mirror of
https://github.com/scopatz/nanorc
synced 2024-11-21 16:15:40 +01:00
Fixing quotes that span more than one line.
To break out of a quote-block in markdown, one has to have two line-breaks. It's the same as usual paragraphs, so having only one line-break results in it being collapsed as a single space. To represent that behavior here, I'm using start-end, with the previous match being the "start", and a blank line (^$) being the "end".
This commit is contained in:
parent
43dd59ad36
commit
8d01fc00f8
@ -4,6 +4,7 @@ syntax "Markdown" "\.(md|mkd|mkdn|markdown)$"
|
||||
color cyan ".*[ :]\|[ :].*"
|
||||
|
||||
# quotes
|
||||
color brightblack start="^>" end="^$"
|
||||
color brightblack "^>.*"
|
||||
|
||||
# Emphasis
|
||||
|
Loading…
Reference in New Issue
Block a user