http://www.freewisdom.org/projects/python-markdown/
-Extract python-markdown into your pyblosxom plugins dir alongside this
+Extract python-markdown into your pyblosxom plugins dir alongside this
plugin. Your plugins dir should look like this:
plugins/ <-- your pyblosxom plugins dir
markdown/ <-- directory containing python-markdown's files
... <-- (any other pyblosxom plugins)
-Now any posts with filenames ending in `.mkdn` will be passed through
+Now any posts with filenames ending in `.mkdn` will be passed through
python-markdown.
-
+
Copyright (C) Benjamin Mako Hill, 2005
Updated for python-markdown 2 by seanh 2009
#'meta',
#'rss',
'toc',
- #'wikilinks'
+ #'wikilinks'
]
)
else:
return '?'
-def parse(story):
+def parse(story):
# Replace any non-ascii characters in the story with '?', so that
# python-markdown doesn't crash.
ascii = "".join([to_ascii(x) for x in story])