Compare commits
No commits in common. "908112fe9cadb7184e6232ca60357acf2d66ace6" and "c05161eb4a36796afa26b1c49c0beedb1dda2af4" have entirely different histories.
908112fe9c
...
c05161eb4a
2 changed files with 0 additions and 20 deletions
|
@ -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
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue