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.1
add Slideshare endpoint (thanks to [anantshri](https://github.com/anantshri))
### 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
Built Distribution
File details
Details for the file python-markdown-oembed-0.2.1.tar.gz
.
File metadata
- Download URL: python-markdown-oembed-0.2.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd5f3d640ffc9f455adf60ae1e759c25bed2685db108c67df57520cc6e84a23 |
|
MD5 | 19663300e9700f911765841bb0cd2315 |
|
BLAKE2b-256 | b1c59662649bafd5e989e5141e96c1ccd955dc64779cd921319895e62a12d253 |
File details
Details for the file python_markdown_oembed-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: python_markdown_oembed-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27fd095406b86226f1905276f041d7c71e544e578799ef605c717abfd0da0f10 |
|
MD5 | 803b034ca6f0fc61b072c8d5f0554e1f |
|
BLAKE2b-256 | 86ef1c233125d99d35a72ad8a9c4d50c803c23ff4dabefa4375801f6f0b6ec43 |