__author__ = 'Benjamin Mako Hill <mako@atdot.cc>'
__author__ = 'seanh <snhmnd@gmail.com>'
-import re,codecs
+import codecs
import markdown
from Pyblosxom import tools
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