diff --git a/.gitignore b/.gitignore index d2a4fe6..1ae6ed9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store .idea +dist *.pyc *.egg-info diff --git a/README.markdown b/README.markdown index 34d9dbe..906bca1 100644 --- a/README.markdown +++ b/README.markdown @@ -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'' + +## 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) diff --git a/setup.py b/setup.py index a42df41..fb35b9a 100644 --- a/setup.py +++ b/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",