{ "info": { "author": "Alexey Kinyov", "author_email": "rudy@05bit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup :: HTML" ], "description": "====================\r\nAvailable extensions\r\n====================\r\n\r\nAt the moment 2 extensions available:\r\n\r\n\t1. autobr - for converting line breaks to br-tags\r\n\t2. autolink - for automatically converting urls to links\r\n\r\n============\r\nInstallation\r\n============\r\n\r\nGet source from GitHub_::\r\n\r\n\t$ git clone git://github.com/05bit/python-mdxflavours.git\r\n\r\nand add mdxflavours to PYTHONPATH::\r\n\r\n $ export PYTHONPATH=$PYTHONPATH:$(pwd)/mdxflavours/\r\n\r\nor::\r\n\r\n $ cd mdxflavours\r\n $ python setup.py install\r\n\r\nNote: importing package ``mdxflavours`` automatically adds required\r\npath to system paths.\r\n\r\n=====\r\nUsage\r\n=====\r\n\r\nExample for auto line breaks::\r\n\r\n\t>>> import markdown\r\n\t>>> markdown.markdown(u'And may the force \\nbe with you!') # no extension\r\n\t>>> u'
And may the force
\\nbe with you!
And may the force
\\nbe with you!