Boost C++ Libraries

PrevUpHomeNext

Plain blocks

block is a plain block element, that doesn't wrap its contents in any docbook or boostbook tags. This can be useful when using escaped docbook block tags, such as:

[template chapter[title]
[block'''<chapter><title>'''[title]'''</title>''']
]

[template chapterend
[block'''</chapter>''']
]

[chapter An example chapter]

Content

[chapterend]

Without the block element, the chapter and chapterend templates would be wrapped in paragraph tags.

[Note] Note

In this example, the template body has to start with a newline so that the template will be interpreted in block mode.


PrevUpHomeNext