markuputils

Markup utilities for Django applications
Download

markuputils Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Christos Trochalakis
  • Publisher web site:
  • http://github.com/ctrochalakis/

markuputils Tags


markuputils Description

Markup utilities for Django applications markuputils is a Django application that adds markup-chain functionality. All you have to do is include markup_utils to your apps and add a MARKUP_CHAIN setting in your settings.py file.The app also includes a build-in filter for code highlighting and simple replacing, see below for details.e.x.settings.py:INSTALLED_APPS = ( ... 'markup_utils', ...)MARKUP_CHAIN = ( 'markdown.markdown', 'markup_utils.filters.code_highlighter', 'markup_utils.filters.simple_replace',)Usage: * Through a python function: from markup_utils.filters import markup_chain markup_chain(some_content) * Through templatetags {% include markuptags %} {{ object.body|markup_chain }}The filters will be called in up to bottom order. Requirements: · Python · Django


markuputils Related Software