X-Git-Url: https://projects.mako.cc/source/pyblosxom-markdown2/blobdiff_plain/85e0f410515601eada0d3cec96515a4f937c7e7c..2185dce438bb38c425c5466e19b90c823644cd6c:/markdown-plugin.py diff --git a/markdown-plugin.py b/markdown-plugin.py index 81d022b..e8fa415 100644 --- a/markdown-plugin.py +++ b/markdown-plugin.py @@ -51,15 +51,7 @@ from Pyblosxom import tools md = markdown.Markdown( #safe_mode=True, output_format='html4', - extensions=[ #'codehilite', # Requires python-pygments - 'extra', - #'html_tidy', # Requires libtidy and uTidylib - #'imagelinks', # Broken? - #'meta', - #'rss', - #'toc', - #'wikilinks' - ] + extensions=[ 'extra',] ) def cb_entryparser(args): @@ -72,9 +64,7 @@ def cb_preformat(args): return parse(''.join(args['story'])) def parse(story): - # Convert the ASCII text to HTML with python-markdown. html = md.convert(story) - # Reset python-markdown ready for next time. md.reset() return html