From ff3d7baf92d68d4a43b6d366a634753abd5b0c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 25 Jun 2024 02:46:46 -0400 Subject: [PATCH] OK now we actually write out our type, on the line after title (if any) --- zimwiki_txt_to_logseq_md.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zimwiki_txt_to_logseq_md.py b/zimwiki_txt_to_logseq_md.py index 5080eae..252a8a1 100644 --- a/zimwiki_txt_to_logseq_md.py +++ b/zimwiki_txt_to_logseq_md.py @@ -30,7 +30,7 @@ def rewrite_file(filepath): w.write("title:: " + title + "\n") w.write("\n") continue - if (i == 5): + if (i == 6): # Types of postable-posted, email-draft, email-sent set when running this for each subdirectory w.write("type:: postable-draft\n") if (i > 5 and line == "\"\"\"\n"):