Compare commits
2 Commits
35606fa1be
...
25fa034cc6
Author | SHA1 | Date |
---|---|---|
Amber | 25fa034cc6 | |
Amber | 9b21f09de8 |
12
main.py
12
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")
|
||||
|
||||
|
|
|
@ -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")
|
Loading…
Reference in New Issue