Skip to content

Markdown extension to allow media embedding using the oEmbed standard.

License

Notifications You must be signed in to change notification settings

rennat/python-markdown-oembed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Markdown oEmbed

Build Status

Markdown extension to allow media embedding using the oEmbed standard.

Installation

pip install python-markdown-oembed

Usage

>>> import markdown
>>> md = markdown.Markdown(extensions=['oembed'])
>>> md.convert('![video](http://www.youtube.com/watch?v=zqnh_YJBvOI)')
u'<iframe width="459" height="344" src="http://www.youtube.com/embed/zqnh_YJBvOI?fs=1&feature=oembed" frameborder="0" allowfullscreen></iframe>'

Links

License

A Public Domain work. Do as you wish.

Changelog

0.2.1

  • add Slideshare endpoint (thanks to anantshri)

0.2.0

  • backwards incompatible changes
    • allows arbitrary endpoints (commit)
    • works with modern Markdown (>=2.6)
    • dropped support for python 2.6
  • added support python 3.x

About

Markdown extension to allow media embedding using the oEmbed standard.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages