From fa69e739010fd1b437887768c918387314e6bf9b Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Wed, 26 Jun 2024 17:34:42 +0200 Subject: [PATCH] luamd helper: fix file not defined yet --- luamd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luamd b/luamd index 8d89984..0185c28 100755 --- a/luamd +++ b/luamd @@ -65,7 +65,7 @@ local md_options = { prependHead = "", appendTail = "", tag = "body", - insertHead = string.format("%s", file), + insertHead = string.format("%s", ARGV[argidx] or ""), } if ARGV[argidx] and ARGV[argidx] ~= "" then local file = nil