Commit 5d2ca30d authored by berumuron's avatar berumuron
Browse files

imp: Enable more extensions for Markdown

It enables `fenced_code` to define blocks of code with backticks and
`attr_list` to be able to assign specific id, classes or attributes to
HTML elements.
parent d137f39b
...@@ -76,7 +76,7 @@ def main(): ...@@ -76,7 +76,7 @@ def main():
# ... but it also can be a simple file if user created it manually! # ... but it also can be a simple file if user created it manually!
os.remove(output_path) os.remove(output_path)
md = markdown.Markdown(extensions=["meta"]) md = markdown.Markdown(extensions=["meta", "fenced_code", "attr_list"])
# And copy the files from ./content to ./output # And copy the files from ./content to ./output
for filepath in dir_tree(content_path): for filepath in dir_tree(content_path):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment