From 25fa034cc67b6f844282b269e509dfe106c9adb6 Mon Sep 17 00:00:00 2001 From: Amber Date: Wed, 2 Mar 2022 20:00:20 -0600 Subject: [PATCH] be gay. do code. --- main.py | 12 +++++++++--- readFile.py | 28 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100755 readFile.py diff --git a/main.py b/main.py index eef39b6..c74f3fa 100755 --- a/main.py +++ b/main.py @@ -1,24 +1,30 @@ #!/usr/bin/python -#import +import readFile -infFile = "" +inFile = "" outFile = "" +#outFile = outFile + ".html" timeCreate = 0 #Do I want this to be a str? timeMod = 0 sTitle = "" + def printHtml(): print("placeholder") + file = open(outFile, 'w') -def parse(): + + +def parseMd(title, inFile): print("probably not gonna use") def metadata(): print("placeholder") + def css(): print("placeholder") diff --git a/readFile.py b/readFile.py new file mode 100755 index 0000000..6723620 --- /dev/null +++ b/readFile.py @@ -0,0 +1,28 @@ +#!/usr/bin/python + +#html.escape will be useful +import html +title = "" + +#html_templ = """ +# +#""" + Title + """ +# +# +#""" + + +# Only do the tag +class markdown(): + outStr = "" + mdFile = "" + + def __init__(self, mdFile): + outStr = "" + self.inFile = mdFile + + def markdown(self): + print("placeholder") + + def __str__(self): + return("placeholder")