From 9418f20d6198774a00426f55c2d655f3c229b231 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Wed, 3 Feb 2021 17:45:33 +0000 Subject: [PATCH 1/3] Support self-references --- src/lib.rs | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index bfae1ed..3d18e84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,7 +26,7 @@ type MarkdownTree<'a> = Vec>; lazy_static! { static ref OBSIDIAN_NOTE_LINK_RE: Regex = - Regex::new(r"^(?P[^#|]+)(#(?P
.+?))??(\|(?P