Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Markdown extensions for basic syntax flavoring.

Project Description

Available extensions

At the moment 2 extensions available:

  1. autobr - for converting line breaks to br-tags
  2. autolink - for automatically converting urls to links

Installation

Get source from GitHub:

$ git clone git://github.com/05bit/python-mdxflavours.git

and add mdxflavours to PYTHONPATH:

$ export PYTHONPATH=$PYTHONPATH:$(pwd)/mdxflavours/

or:

$ cd mdxflavours
$ python setup.py install

Note: importing package mdxflavours automatically adds required path to system paths.

Usage

Example for auto line breaks:

>>> import markdown
>>> markdown.markdown(u'And may the force  \nbe with you!') # no extension
>>> u'<p>And may the force<br />\nbe with you!</p>'
>>> markdown.markdown(u'And may the force\nbe with you!', extensions=['autobr'])
>>> u'<p>And may the force<br />\nbe with you!</p>'
Release History

Release History

This version
History Node

1.0

History Node

0.9

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mdxflavours-0.9.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Jan 10, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting