A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://github.com/r0wb0t/markdown-urlize below:

r0wb0t/markdown-urlize: A more liberal autolink extension for python Markdown

A more liberal autolink extension for python Markdown

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 in case you need more info.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4