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.
Metadata
Release files for markdown-urlize 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| markdown-urlize-0.2.0.tar.gz | 3.3 kB | Details |
Release files / markdown-urlize-0.2.0.tar.gz
| Download URL | markdown-urlize-0.2.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93ad5d00cdeacb5db1a01a39e2cb3bc3da03ad73e9c57688ee83331baff96daf
|
|
BLAKE2b-256 checksum How to use checksums |
7d3f55b8b93439a07cc4d7dc0e591ad7d705ec1bc58b1995a3d5c3ebf1fbb6e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |