summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/templates.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst
index e98cf4d86..5c61cd0da 100644
--- a/docs/narr/templates.rst
+++ b/docs/narr/templates.rst
@@ -24,9 +24,9 @@ named "templates", you can render the template in a view via::
from repoze.bfg.template import render_template
render_template('templates/foo.html', foo=1, bar=2)
-You can also wire up page templates via ZCML::
+You can also wire up page templates via ZCML:
-.. code-block:: xml
+.. sourcecode:: xml
<bfg:view
for=".models.IMapping"