diff --git a/tildewiki/compilation.py b/tildewiki/compilation.py index 257f7e4..c5402e7 100644 --- a/tildewiki/compilation.py +++ b/tildewiki/compilation.py @@ -3,7 +3,7 @@ import re from datetime import datetime from typing import Optional, Callable -from markdown import markdown, extensions +from markdown import markdown DOUBLE_NEWLINE_RE = re.compile(r'\n\n', flags=re.MULTILINE|re.DOTALL) HEADER_TITLE_RE = re.compile(r'(.*?)') @@ -138,7 +138,6 @@ def compile_markdown(file_path:str) -> str: """Given a string of markdown, compiles it and returns the result.""" return markdown( slurp(file_path), - extensions=[extensions.fenced_code], output_format='html5') def compile_plaintext(file_path:str) -> str: