diff --git a/Example_note.txt b/Example_note.txt deleted file mode 100755 index f0a731a..0000000 --- a/Example_note.txt +++ /dev/null @@ -1,12 +0,0 @@ -Content-Type: text/x-zim-wiki -Wiki-Format: zim 0.26 -Creation-Date: Not found -Modification-Date: Not found - -====== Example note ====== - -This is a line. - -This is another line. - -http://example.com diff --git a/zimwiki_txt_to_logseq_md.py b/zimwiki_txt_to_logseq_md.py index 12ac6a0..5d82b53 100644 --- a/zimwiki_txt_to_logseq_md.py +++ b/zimwiki_txt_to_logseq_md.py @@ -13,14 +13,6 @@ def rewrite_file(filepath): or (i == 4 and line == "\n") ): continue - if (i == 5): - title_pieces = line.split("======") - if len(title_pieces) == 3: - title = title_pieces[1].strip() - w.write("---\n") - w.write("title: " + title + "\n") - w.write("---\n") - continue w.write(line)