Compare commits

..

2 Commits

Author SHA1 Message Date
Amber 25fa034cc6 be gay. do code. 2022-03-02 20:00:20 -06:00
Amber 9b21f09de8 Train good. Car bad. 2022-03-02 18:47:10 -06:00
2 changed files with 37 additions and 3 deletions

12
main.py
View File

@ -1,24 +1,30 @@
#!/usr/bin/python #!/usr/bin/python
#import import readFile
infFile = "" inFile = ""
outFile = "" outFile = ""
#outFile = outFile + ".html"
timeCreate = 0 #Do I want this to be a str? timeCreate = 0 #Do I want this to be a str?
timeMod = 0 timeMod = 0
sTitle = ""
def printHtml(): def printHtml():
print("placeholder") print("placeholder")
file = open(outFile, 'w')
def parse():
def parseMd(title, inFile):
print("probably not gonna use") print("probably not gonna use")
def metadata(): def metadata():
print("placeholder") print("placeholder")
def css(): def css():
print("placeholder") print("placeholder")

28
readFile.py Executable file
View File

@ -0,0 +1,28 @@
#!/usr/bin/python
#html.escape will be useful
import html
title = ""
#html_templ = """
#<head>
#<title>""" + Title + """</title>
#</head>
#
#"""
# Only do the <body> tag
class markdown():
outStr = ""
mdFile = ""
def __init__(self, mdFile):
outStr = ""
self.inFile = mdFile
def markdown(self):
print("placeholder")
def __str__(self):
return("placeholder")