updated readme and setup.py

This commit is contained in:
J. Tanner Netterville 2012-11-13 15:37:35 -06:00
parent e4ec8a72fb
commit 905980d527
3 changed files with 16 additions and 3 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
.DS_Store
.idea
dist
*.pyc
*.egg-info

View file

@ -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('![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)

View file

@ -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",