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="proxy.php?url=http%3A%2F%2Fwww.youtube.com%2Fembed%2Fzqnh_YJBvOI%3Ffs%3D1%26amp%3Bfeature%3Doembed" 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