From 02f1c567b9376a1313a4f1ece941cf5fb73c2c3c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 24 Apr 2012 13:12:09 +0200 Subject: [PATCH] fixed markup in the doc --- doc/tags/embed.rst | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) 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 ───────────┐ │ │ │ ┌───────┐ ┌───────┐ │ │ -- 1.7.2.5