mirror of
https://github.com/boostorg/quickbook.git
synced 2026-01-27 07:02:15 +00:00
* Require an eol after comments, so that an eol with content after it is interpreted as a paragraph. * 'eol >> eol' => 'eol >> *blank_p >> eol_p' so that lines containing only a comment aren't interpreted as paragraph breaks. * +eol after 'inside paragraphs' so that all the whitespace following a paragraph is swallowed up. If it wasn't then it'd create lots of empty paragraphs when there's a lot of whitespace. [SVN r62700]
81 lines
861 B
Plaintext
81 lines
861 B
Plaintext
[article Paragraph Test
|
|
[quickbook 1.5]
|
|
]
|
|
|
|
[section Some Paragraphs]
|
|
|
|
[/ Leading comment ] Shouldn't be a code block.
|
|
|
|
[/ Leading comment ]*Should be bold*.
|
|
|
|
Should be a
|
|
[/ Breaking comment]
|
|
single paragraph.
|
|
|
|
Single paragraph.
|
|
[/ Breaking comment]
|
|
|
|
Single paragraph.
|
|
|
|
[/ Breaking comment]
|
|
Single paragraph.
|
|
|
|
Single paragraph.[/ Trailing comment]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lots of newlines round this paragraph.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Last paragraph.[endsect]
|
|
|
|
[section Inside
|
|
[/Breaking comment]
|
|
blocks]
|
|
|
|
[variablelist
|
|
[[Paragraphs][
|
|
[/ Leading comment ] Shouldn't be a code block.
|
|
|
|
[/ Leading comment ]*Should be bold*.
|
|
|
|
Should be a
|
|
[/ Breaking comment]
|
|
single paragraph.
|
|
|
|
Single paragraph.
|
|
[/ Breaking comment]
|
|
|
|
Single paragraph.
|
|
|
|
[/ Breaking comment]
|
|
Single paragraph.
|
|
|
|
Single paragraph.[/ Trailing comment]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lots of newlines round this paragraph.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Last paragraph.]]]
|
|
|
|
[endsect] |