Skip to main content

A more liberal autolink extension for python Markdown

Project description

A more liberal autolink extension for python Markdown - inspired by Django’s urlize function`

Requires: http://pypi.python.org/pypi/Markdown

To make this extension loadable by Mardown, just drop mdx_urlize.py into your PYTHONPATH or projects root.

From http://stackoverflow.com/a/6553787/352452:

Once installed, you can use it in a Django template like this:

{{ value|markdown:”urlize” }}

Or in Python code like this:

import markdown md = markdown.Markdown(safe_mode=True, extensions=[‘urlize’]) converted_text = md.convert(text)

Here is the start of the [Markdown extension docs](http://pythonhosted.org/Markdown/extensions/index.html) in case you need more info.

Project details


Download files

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

Files for markdown-urlize, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size markdown-urlize-0.2.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page