Ticket #13202: 13202.diff
File 13202.diff, 1.6 KB (added by , 15 years ago) |
---|
-
docs/ref/contrib/index.txt
134 134 135 135 A collection of template filters that implement common markup languages: 136 136 137 * ``textile`` -- implements `Textile`_ 138 * ``markdown`` -- implements `Markdown`_ 139 * ``restructuredtext`` -- implements `ReST (ReStructured Text)`_ 137 * ``textile`` -- implements `Textile`_ -- requires `PyTextile`_ 138 * ``markdown`` -- implements `Markdown`_ -- requires `Python-markdown`_ 139 * ``restructuredtext`` -- implements `ReST (ReStructured Text)`_ -- requires `doc-utils`_ 140 140 141 141 In each case, the filter expects formatted markup as a string and returns a 142 142 string representing the marked-up text. For example, the ``textile`` filter 143 converts text that is marked-up in Textile format to HTML. 143 converts text that is marked-up in Textile format to HTML. If the required 144 library is not installed, the filter will silently fail and return the 145 un-marked-up text. 144 146 145 147 To activate these filters, add ``'django.contrib.markup'`` to your 146 148 :setting:`INSTALLED_APPS` setting. Once you've done that, use ``{% load markup %}`` in … … 150 152 .. _Textile: http://en.wikipedia.org/wiki/Textile_%28markup_language%29 151 153 .. _Markdown: http://en.wikipedia.org/wiki/Markdown 152 154 .. _ReST (ReStructured Text): http://en.wikipedia.org/wiki/ReStructuredText 155 .. _PyTextile: http://loopcore.com/python-textile/ 156 .. _Python-markdown: http://www.freewisdom.org/projects/python-markdown 157 .. _doc-utils: http://docutils.sf.net/ 153 158 154 159 messages 155 160 ========