removed test md and fixed some whitespace
This commit is contained in:
-14
@@ -3,26 +3,12 @@ from pathlib import Path
|
|||||||
from mdtohtml import mdtohtml
|
from mdtohtml import mdtohtml
|
||||||
from htmltopdf import htmltopdf
|
from htmltopdf import htmltopdf
|
||||||
|
|
||||||
md = """
|
|
||||||
#This is a header
|
|
||||||
|
|
||||||
THis is a paragrah with **bold** text
|
|
||||||
|
|
||||||
This is *italic* text
|
|
||||||
|
|
||||||
and and unordered list
|
|
||||||
- one item
|
|
||||||
- two item
|
|
||||||
- three item
|
|
||||||
"""
|
|
||||||
|
|
||||||
srcdir = Path("markdown")
|
srcdir = Path("markdown")
|
||||||
destdir = Path("publish")
|
destdir = Path("publish")
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
print("Hello from resume!")
|
print("Hello from resume!")
|
||||||
html = mdtohtml(md)
|
|
||||||
print(html)
|
|
||||||
|
|
||||||
# html
|
# html
|
||||||
# process all files ending with '.md' in srcdir to html
|
# process all files ending with '.md' in srcdir to html
|
||||||
|
|||||||
Reference in New Issue
Block a user