From: Fabien Potencier Date: Tue, 24 Apr 2012 11:12:09 +0000 (+0200) Subject: fixed markup in the doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=02f1c567b9376a1313a4f1ece941cf5fb73c2c3c;p=web%2Fkonrad%2Ftwig.git fixed markup in the doc --- diff --git a/doc/tags/embed.rst b/doc/tags/embed.rst index edea190..e69d65c 100644 --- a/doc/tags/embed.rst +++ b/doc/tags/embed.rst @@ -17,7 +17,9 @@ from an external file (like with the ``include`` statement): As it's not easy to understand in which circumstances it might come in handy, let's take an example; imagine a base template shared by many pages with a -single block:: +single block: + +.. code-block:: text ┌─── Page n ──────────────────────────┐ │ │ @@ -32,7 +34,9 @@ single block:: │ │ └─────────────────────────────────────┘ -Some pages (page 1, 2, ...) share the same structure for the block:: +Some pages (page 1, 2, ...) share the same structure for the block: + +.. code-block:: text ┌─── Page 1 & 2 ──────────────────────┐ │ │ @@ -47,9 +51,11 @@ Some pages (page 1, 2, ...) share the same structure for the block:: │ │ └─────────────────────────────────────┘ -While other pages (page a, b, ...) share a different structure for the block:: +While other pages (page a, b, ...) share a different structure for the block: + +.. code-block:: text - ┌─── Page a, b ──────────────────────┐ + ┌─── Page a, b ───────────────────────┐ │ │ │ ┌── Base B ───────────┐ │ │ │ ┌───────┐ ┌───────┐ │ │