generic_markup - filters for converting plain text to HTML

Filters for converting plain text to HTML and enhancing the typographic appeal of text on the Web.

native_tags.contrib.generic_markup.apply_markup(value, arg=None)

Applies text-to-HTML conversion.

Takes an optional argument to specify the name of a filter to use.

This is a filter tag.

native_tags.contrib.generic_markup.smartypants(value)

Applies SmartyPants to a piece of text, applying typographic niceties.

Requires the Python SmartyPants library to be installed; see http://web.chad.org/projects/smartypants.py/

This is a filter tag.

Previous topic

generic_content - access model content

Next topic

mapreduce - native map and reduce tags

This Page