aboutsummaryrefslogtreecommitdiff
path: root/converter.py
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-05 22:14:59 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-05 22:14:59 +0100
commit0786664acdff77c72aaf12a5abc05659ebfc5ad6 (patch)
tree45184d2a5633a85bee38c16172351ea4d2ba442d /converter.py
parentf61edf647863dc34a49df42f13993ac46843c91d (diff)
downloadmdhtml-0786664acdff77c72aaf12a5abc05659ebfc5ad6.tar.gz
mdhtml-0786664acdff77c72aaf12a5abc05659ebfc5ad6.tar.bz2
mdhtml-0786664acdff77c72aaf12a5abc05659ebfc5ad6.zip
+read the initial html file
This html file has a specific format
Diffstat (limited to 'converter.py')
-rw-r--r--converter.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/converter.py b/converter.py
index 41aa288..6d8ae8d 100644
--- a/converter.py
+++ b/converter.py
@@ -26,3 +26,9 @@ for file in args:
else:
print(file, "is not a markdown file, skipping")
+
+"""Read header"""
+header = []
+with open(options.header, 'r') as file:
+ header = file.readlines()
+