From 573da3af1d9eaec45dad88622458950a94bf9ed9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 31 Dec 2024 11:05:52 +0200 Subject: fix(single): Make checkbox lists actual lists --- single.awk | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'single.awk') diff --git a/single.awk b/single.awk index 00f9e2e..b60535f 100644 --- a/single.awk +++ b/single.awk @@ -196,12 +196,16 @@ function autoinsert(arrname, isbefore) { /^( |\t)[ \t]*/ { } -# Check boxes +# Check boxes Part 1/2 /^[ \t]*- \[[ x]\][ \t]/ { + if (checkbox_level <= 0) { + println("