From 53bf93d76770ba00ea6dcafbf4f1eb18b38dd905 Mon Sep 17 00:00:00 2001 From: Michael Bernstein Date: Sun, 7 Dec 2014 13:43:48 -0600 Subject: [PATCH] A bit more editing and cleanup of the Chameleon section. --- docs/scenarios/web.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/scenarios/web.rst b/docs/scenarios/web.rst index b267f74..c879438 100644 --- a/docs/scenarios/web.rst +++ b/docs/scenarios/web.rst @@ -422,14 +422,15 @@ engine implementation of the `Template Attribute Language (TAL) ` syntaxes. Chameleon is available for Python 2.5 and up (including 3.x and pypy), and -is commonly used by the `Pyramid Framework `_. +is commonly used by the `Pyramid Framework `_. Page Templates add within your document structure special element attributes and text markup. Using a set of simple language constructs, you control the document flow, element repetition, text replacement and translation. Because of the attribute-based syntax, unrendered page templates are valid HTML and can be viewed in a browser and even edited in WYSIWYG editors. This can make -round-trip collaboration with designers and prototyping in a browser easier. +round-trip collaboration with designers and prototyping with static files in a +browser easier. The basic TAL language is simple enough to grasp from an example: @@ -471,7 +472,7 @@ you can replace it with a more terse and readable syntax that uses the pattern But keep in mind that the full `Default Text` -syntax allows for default content in the unrendered template. +syntax also allows for default content in the unrendered template. .. rubric:: References