Markdown extension to allow media embedding using the oEmbed standard.
pip install python-markdown-oembed
>>> import markdown
>>> md = markdown.Markdown(extensions=['oembed'])
>>> md.convert('')
u'<iframe width="459" height="344" src="http://www.youtube.com/embed/zqnh_YJBvOI?fs=1&feature=oembed" frameborder="0" allowfullscreen></iframe>'
A Public Domain work. Do as you wish.
- add Slideshare endpoint (thanks to anantshri)
- backwards incompatible changes
- allows arbitrary endpoints (commit)
- works with modern Markdown (>=2.6)
- dropped support for python 2.6
- added support python 3.x