Merge branch 'master' of github.com:tildetown/tilde-wiki

master
nate 2017-12-04 19:02:51 -08:00
commit a1f055a42e
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ def compile_markdown(file_path:str) -> str:
"""Given a string of markdown, compiles it and returns the result."""
return markdown(
slurp(file_path),
extensions=[markdown.extensions.fenced_code],
output_format='html5')
def compile_plaintext(file_path:str) -> str: