Compare commits
No commits in common. "25fa034cc67b6f844282b269e509dfe106c9adb6" and "35606fa1be57a95e98b3e3f869728f00fa385919" have entirely different histories.
25fa034cc6
...
35606fa1be
12
main.py
12
main.py
|
@ -1,30 +1,24 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
import readFile
|
#import
|
||||||
|
|
||||||
inFile = ""
|
infFile = ""
|
||||||
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
28
readFile.py
|
@ -1,28 +0,0 @@
|
||||||
#!/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")
|
|
Loading…
Reference in New Issue