mirror of
https://github.com/Hopiu/python-markdown-oembed.git
synced 2026-03-16 22:10:24 +00:00
updated readme and setup.py
This commit is contained in:
parent
e4ec8a72fb
commit
905980d527
3 changed files with 16 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,4 +1,5 @@
|
|||
.DS_Store
|
||||
.idea
|
||||
dist
|
||||
*.pyc
|
||||
*.egg-info
|
||||
|
|
|
|||
|
|
@ -2,8 +2,20 @@
|
|||
|
||||
Markdown extension to allow media embedding using the oEmbed standard.
|
||||
|
||||
# Links
|
||||
## Installation
|
||||
|
||||
pip install python-markdown-oembed
|
||||
|
||||
## Usage
|
||||
|
||||
>>> import markdown
|
||||
>>> md = markdown.Markdown(extensions=['oembed'])
|
||||
>>> md.convert('')
|
||||
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)
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -6,7 +6,7 @@ except ImportError:
|
|||
from distutils.core import setup
|
||||
|
||||
|
||||
VERSION = '0.0b'
|
||||
VERSION = '0.1'
|
||||
|
||||
|
||||
setup(
|
||||
|
|
@ -16,7 +16,7 @@ setup(
|
|||
long_description=open('README.markdown').read(),
|
||||
author='Tanner Netterville',
|
||||
author_email='tannern@gmail.com',
|
||||
url='http://tannern.com',
|
||||
url='https://github.com/rennat/python-markdown-oembed',
|
||||
license='MIT',
|
||||
classifiers=(
|
||||
"Development Status :: 4 - Beta",
|
||||
|
|
|
|||
Loading…
Reference in a new issue