From 36184ff5b549d999f0debb15c6a8d4ae054257d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 18:18:35 +0100 Subject: [PATCH] generator md: more options --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index 9820951..09f5a6b 100755 --- a/qsgen2 +++ b/qsgen2 @@ -152,7 +152,7 @@ elif [[ ${generator} == "markdown" ]]; then exit else # Usage: ${engine} ${1} - Where 1 is the file you want parsed - engine=/usr/bin/markdown -d -n -s ${1} + engine=/usr/bin/markdown -d -n -s export file_ext=md fi fi @@ -288,7 +288,7 @@ function _pages_cache() { current_hash=$(md5sum "$file" | awk '{print $1}') if (${debug}) _msg debug "1. pages_cache: ${pages_cache[$file]}" - if (${debug}) _msg debug "1. c_pages_cache: urrent_cache: ${current_hash}" + if (${debug}) _msg debug "1. _pages_cache: current_cache: ${current_hash}" # Check if the pages file is new or has changed if [[ ${pages_cache[$file]} != "$current_hash" ]]; then