/mdx_cite

Python-Markdown extension to support the <cite> tag

Primary LanguagePythonOtherNOASSERTION

Cite Extension for Python-Markdown

Wraps the inline content surrounded by three double quotes into cite tags.

Installation

pip install git+git://github.com/aleray/mdx_cite.git

Usage

>>> import markdown
>>> src = '"""Who Is Killing the Great Chefs of Europe?""" is the last movie I watched.'
>>> html = markdown.markdown(src, ['cite'])
>>> print(html)
<p><cite>Who Is Killing the Great Chefs of Europe?</cite> is the last movie I watched.</p>

Dependencies

Copyright

2011, 2012 The active archives contributors All rights reserved.

This software is released under the modified BSD License. See LICENSE.md for details.