Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/italomaia/mdx-video
- Owner: italomaia
- Created: 2012-05-23T23:07:30.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T14:47:14.000Z (5 months ago)
- Last Synced: 2024-10-12T10:14:45.675Z (about 1 month ago)
- Topics: extension, markdown, markup, python, video
- Language: Python
- Size: 254 KB
- Stars: 17
- Watchers: 3
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Usage
-------
```python
import markdowntext = '...'
# 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
- VeohContribute
----------
Missed some provider?
Don't be shy, fork it and send a pull request.
Or you can open an issue too!