Compare commits
1 Commits
3b61654db8
...
c843608025
Author | SHA1 | Date |
---|---|---|
ktyl | c843608025 |
|
@ -46,7 +46,7 @@ if not os.path.isdir(dest_dir):
|
||||||
dummy_file = f"{dest_file}.bak"
|
dummy_file = f"{dest_file}.bak"
|
||||||
open(dummy_file, 'w').close()
|
open(dummy_file, 'w').close()
|
||||||
|
|
||||||
print(f"{src_file} -> {dummy_file}")
|
print(f"{dummy_file} -> {dummy_file}")
|
||||||
markdown.markdownFromFile(input=src_file, output=dummy_file, extensions=["fenced_code"])
|
markdown.markdownFromFile(input=src_file, output=dummy_file, extensions=["fenced_code"])
|
||||||
|
|
||||||
print(f"{dummy_file} -> {dest_file}")
|
print(f"{dummy_file} -> {dest_file}")
|
||||||
|
@ -81,3 +81,6 @@ with open(dummy_file, 'r') as read_file, open(dest_file, 'w') as write_file:
|
||||||
|
|
||||||
os.remove(dummy_file)
|
os.remove(dummy_file)
|
||||||
|
|
||||||
|
print(f"{src_file} -> {dest_file}")
|
||||||
|
markdown.markdownFromFile(input=src_file, output=dest_file, extensions=["fenced_code"])
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
#include footer.html
|
#include footer.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue