From 591ddb86e3c59cad68b5ebee535b9392af8d3eaa Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 9 Oct 2017 12:24:33 +0800 Subject: [PATCH] markdown.kak: Remove fenced block support from Its not in the spec, except for code blocks that we handle differently anyway. More importantly it currently relies on backreference. --- rc/base/markdown.kak | 1 - 1 file changed, 1 deletion(-) diff --git a/rc/base/markdown.kak b/rc/base/markdown.kak index b992b83e..bc7a24ec 100644 --- a/rc/base/markdown.kak +++ b/rc/base/markdown.kak @@ -111,7 +111,6 @@ add-highlighter -group /markdown/content regex (\A|\n\n)[^\n]+\n-{2,}\h*\n\h*$ 0 add-highlighter -group /markdown/content regex ^(#+)(\h+)([^\n]+) 1:header add-highlighter -group /markdown/content regex ^\h?((?:[\s\t]+)?[-\*])\h+[^\n]*(\n\h+[^-\*]\S+[^\n]*\n)*$ 0:list 1:bullet -add-highlighter -group /markdown/content regex ^([-=~]+)\n[^\n\h].*?\n\1$ 0:block add-highlighter -group /markdown/content regex \B\+[^\n]+?\+\B 0:mono add-highlighter -group /markdown/content regex \B\*[^\n]+?\*\B 0:italic add-highlighter -group /markdown/content regex \b_[^\n]+?_\b 0:italic