Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
fix embed block doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Jun 24, 2013
1 parent c265393 commit 953fc18
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tutorials/using_blockbundle_and_contentbundle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -529,11 +529,15 @@ their HTML content:

.. code-block:: html

<span>%block:"/absolute/path/to/block"%</span>
<span>%embed-block:"/absolute/path/to/block"%</span>

You can change the prefix and postfix (the parts ``<span>%block:`` and
``%</span>`` to have a different tag for your users. Say you want to write
``%%%block:"/absolute/path"%%%`` then you do:
<span>%embed-block:"local-block"%</span>

The path to the block is either absolute or relative to the current main content.
The actual path to the block must be enclosed with double quotes ``"``. But the
prefix and postfix are configurable. The default prefix is ``<span>%embed-block:``
and the default postfix is ``%</span>``. Say you want to write
``%%%block:"/absolute/path"%%%`` and no ``<span>`` tag then you do:

.. configuration-block::

Expand Down

0 comments on commit 953fc18

Please sign in to comment.