Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 833 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 833 Bytes

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.