From 1b3554c94385111cd4d13076e5dbb0b8a6d4fd44 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Fri, 19 Feb 2016 12:31:36 +0100 Subject: [PATCH] support auto-linked email address --- rc/base/markdown.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/markdown.kak b/rc/base/markdown.kak index 1573ef5a..62bcedb4 100644 --- a/rc/base/markdown.kak +++ b/rc/base/markdown.kak @@ -41,7 +41,7 @@ addhl -group /markdown/content regex ^([-=~]+)\n[^\n\h].*?\n\1$ 0:block addhl -group /markdown/content regex \B\+[^\n]+?\+\B 0:mono addhl -group /markdown/content regex \b_[^\n]+?_\b 0:italic addhl -group /markdown/content regex \B\*[^\n]+?\*\B 0:bold -addhl -group /markdown/content regex <[a-z]+://.*?> 0:link +addhl -group /markdown/content regex <(([a-z]+://.*?)|((mailto:)?[\w+-]+@[a-z]+[.][a-z]+))> 0:link addhl -group /markdown/content regex ^\h*(>\h*)+ 0:comment addhl -group /markdown/content regex \H\K\h\h$ 0:PrimarySelection