From ff2c7bf5e553a3166b2066feef40fb5cb7c18ac4 Mon Sep 17 00:00:00 2001 From: rxi Date: Mon, 11 May 2020 20:31:35 +0100 Subject: [PATCH] Added double-backtick support to language_md plugin Resolves #80 --- data/plugins/language_md.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/data/plugins/language_md.lua b/data/plugins/language_md.lua index f0b5e66..9f0f14e 100644 --- a/data/plugins/language_md.lua +++ b/data/plugins/language_md.lua @@ -6,6 +6,7 @@ syntax.add { { pattern = "\\.", type = "normal" }, { pattern = { "" }, type = "comment" }, { pattern = { "```", "```" }, type = "string" }, + { pattern = { "``", "``", "\\" }, type = "string" }, { pattern = { "`", "`", "\\" }, type = "string" }, { pattern = { "~~", "~~", "\\" }, type = "keyword2" }, { pattern = "%-%-%-+", type = "comment" },