Boost C++ Libraries

PrevUpHomeNext

Preformatted

Sometimes, you don't want some preformatted text to be parsed as source code. In such cases, use the [pre ... ] markup block.

[pre

    Some *preformatted* text                    Some *preformatted* text

        Some *preformatted* text            Some *preformatted* text

            Some *preformatted* text    Some *preformatted* text

]

Spaces, tabs and newlines are rendered as-is. Unlike all quickbook block level markup, pre (and Code) are the only ones that allow multiple newlines. The markup above will generate:

Some preformatted text                    Some preformatted text

    Some preformatted text            Some preformatted text

        Some preformatted text    Some preformatted text

Notice that unlike Code, phrase markup such as font style is still permitted inside pre blocks.


PrevUpHomeNext