47 lines
1.5 KiB
Text
47 lines
1.5 KiB
Text
Metadata-Version: 2.0
|
|
Name: markdown-urlize
|
|
Version: 0.2.0
|
|
Summary: A more liberal autolink extension for python Markdown
|
|
Home-page: https://github.com/r0wb0t/markdown-urlize
|
|
Author: Rowan Nairn
|
|
Author-email: rnairn@gmail.com
|
|
License: BSD
|
|
Platform: UNKNOWN
|
|
Classifier: Development Status :: 5 - Production/Stable
|
|
Classifier: Intended Audience :: Developers
|
|
Classifier: Natural Language :: English
|
|
Classifier: License :: OSI Approved :: BSD License
|
|
Classifier: Operating System :: OS Independent
|
|
Classifier: Programming Language :: Python
|
|
Classifier: Programming Language :: Python :: 2
|
|
Classifier: Programming Language :: Python :: 2.6
|
|
Classifier: Programming Language :: Python :: 2.7
|
|
Classifier: Programming Language :: Python :: 3
|
|
Classifier: Programming Language :: Python :: 3.3
|
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
Requires-Dist: markdown
|
|
|
|
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.
|
|
|
|
|
|
|
|
|