Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/italomaia/mdx-video

Video extension for python-markdown
https://github.com/italomaia/mdx-video

extension markdown markup python video

Last synced: 19 days ago
JSON representation

Video extension for python-markdown

Awesome Lists containing this project

README

        

Usage
-------
```python
import markdown

text = '...'
# see http://pythonhosted.org//Markdown/reference.html#extension_configs for passing parameters
html = markdown.markdown(text, extensions=['video'])
# or
from mdx_video import VideoExtension
html = markdown.markdown(text, extensions=[VideoExtension(**params)])
# or
md = markdown.Markdown()
md.registerExtension(VideoExtension(**params))
```

Support
-------

The following video providers are supported:

- YouTube
- Vimeo
- Yahoo Video
- Dailymotion
- Metacafe
- Veoh

Contribute
----------
Missed some provider?
Don't be shy, fork it and send a pull request.
Or you can open an issue too!