diff --git a/zimwiki_txt_to_logseq_md.py b/zimwiki_txt_to_logseq_md.py index 41501ef..c0170cc 100644 --- a/zimwiki_txt_to_logseq_md.py +++ b/zimwiki_txt_to_logseq_md.py @@ -34,12 +34,12 @@ def rewrite_file(filepath): # w.write("type:: postable-draft\n") if (i > 5 and line == "\"\"\"\n"): if (in_block == False): + # Start our self-styled quotation block with a bullet. + line = "- " + line in_block = True else: in_block = False # Close our self-styled quotation block without a bullet. - w.write(line) - continue elif (i > 5 and in_block == False): test = line.strip() if (test == ""):