comparison doc/plugin.txt @ 592:7145e4eba2ec

Add a new syntax for text templates, which is available alongside the old syntax for now. The new syntax is more poweful and flexible, using Django-style directive notation.
author cmlenz
date Mon, 13 Aug 2007 12:40:56 +0000
parents c2e039c7e439
children 834e8fd2d822
comparison
equal deleted inserted replaced
590:880b1a75d046 592:7145e4eba2ec
220 ------------------------- 220 -------------------------
221 The maximum number of templates that the template loader will cache in memory. 221 The maximum number of templates that the template loader will cache in memory.
222 The default value is **25**. You may want to choose a higher value if your web 222 The default value is **25**. You may want to choose a higher value if your web
223 site uses a larger number of templates, and you have enough memory to spare. 223 site uses a larger number of templates, and you have enough memory to spare.
224 224
225 ``genshi.new_text_syntax``
226 --------------------------
227 Whether the new syntax for text templates should be used. Specify "yes" to
228 enable the new syntax, or "no" to use the old syntax.
229
230 In the version of Genshi, the default is to use the old syntax for
231 backwards-compatibility, but that will change in a future release.
232
225 ``genshi.search_path`` 233 ``genshi.search_path``
226 ---------------------- 234 ----------------------
227 A colon-separated list of file-system path names that the template loader should 235 A colon-separated list of file-system path names that the template loader should
228 use to search for templates. 236 use to search for templates.
Copyright (C) 2012-2017 Edgewall Software