Markdown extension to allow media embedding using the oEmbed standard.
Project description
# Python Markdown oEmbed
[![Build Status](https://travis-ci.org/rennat/python-markdown-oembed.svg?branch=master)](https://travis-ci.org/rennat/python-markdown-oembed)
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
[python-markdown-oembed](https://github.com/rennat/python-markdown-oembed)
[Markdown](http://daringfireball.net/projects/markdown/)
[oEmbed](http://www.oembed.com/)
[python-oembed](https://github.com/abarmat/python-oembed)
## License
A Public Domain work. Do as you wish.
## Changelog
### 0.2.0
- backwards incompatible changes
allows arbitrary endpoints ([commit](https://github.com/Wenzil/python-markdown-oembed/commit/1e89de9db5e63677e071c36503e2499bbe0792da))
works with modern Markdown (>=2.6)
dropped support for python 2.6
added support python 3.x
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for python-markdown-oembed-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b285c3ee6e78efe9c3908d42153104d5a30f430115ebe01647f0bd69f3b5f5a |
|
MD5 | 70abd720b46e8e1b5df67fd35bf04bbf |
|
BLAKE2b-256 | 7aaf265aaf795fd29dd04cdec2c8adb29eab3008d5dce4f728d7abc90f06f3eb |