From fef1d845974b69952411ea04a1a3839f4c11b140 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 9 Jan 2024 19:57:10 -1000 Subject: [PATCH] wikilinks: note case sensitivity --- wikilinks.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wikilinks.lua b/wikilinks.lua index ea29ce2..75a1f72 100644 --- a/wikilinks.lua +++ b/wikilinks.lua @@ -5,9 +5,10 @@ -- - lower-cases the fragment -- - adds ".html" to the path when appropriate (preserving any fragment). -- This is not needed on hledger.org, but makes links work when rendered locally. --- Limitations: unlike Obsidian wikilinks, +-- Current limitations: unlike Obsidian wikilinks, -- - these do not find files across folders - correct path is required -- - these are not aware of file existence - targets should exist +-- - these are not case insensitive - link and filename case must match exactly function Link(el) if el.title == "wikilink" then