From 8d01fc00f8f177364ccbd958c5210ea751dc8a21 Mon Sep 17 00:00:00 2001 From: TUSF Date: Wed, 20 Dec 2017 23:49:51 -0600 Subject: [PATCH] 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". --- markdown.nanorc | 1 + 1 file changed, 1 insertion(+) diff --git a/markdown.nanorc b/markdown.nanorc index 9d3fd9e..448a396 100644 --- a/markdown.nanorc +++ b/markdown.nanorc @@ -4,6 +4,7 @@ syntax "Markdown" "\.(md|mkd|mkdn|markdown)$" color cyan ".*[ :]\|[ :].*" # quotes +color brightblack start="^>" end="^$" color brightblack "^>.*" # Emphasis