Skip to content

aleray/mdx_cite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cite Extension for Python-Markdown

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

Installation

pip install git+git:https://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.

About

Python-Markdown extension to support the <cite> tag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages