From 34edb1a8e7326341274914f1e562d4fb4cad85e9 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sat, 11 Jul 2020 12:35:27 +0800 Subject: [PATCH] Highlight markdown code block with space --- rc/filetype/markdown.kak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rc/filetype/markdown.kak b/rc/filetype/markdown.kak index 19d5b3e0..2883111f 100644 --- a/rc/filetype/markdown.kak +++ b/rc/filetype/markdown.kak @@ -81,6 +81,9 @@ add-highlighter shared/markdown/inline/text/ regex ^\[[^\]\n]*\]:\h*([^\n]*) 1:l add-highlighter shared/markdown/inline/text/ regex ^\h*(>\h*)+ 0:comment add-highlighter shared/markdown/inline/text/ regex \H\K\h\h$ 0:PrimarySelection +# Inline code +add-highlighter shared/markdown/inline/text/ regex "^ [^\n]*" 0:meta + # Commands # ‾‾‾‾‾‾‾‾