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")