Boost logo

Boost :

Subject: Re: [boost] [quickbook] Strange error regarding lists
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-07-20 07:16:31


>> It's only changing for lists followed by code blocks, which is an
>> unusual thing to do.
>
> I use code blocks in lists quite often. Things like changelogs and inline
> examples [1] are the natural use cases. In fact, I think I want to use code
> blocks in lists more often than multi-paragraph list items. I realize there is
> ambiguity in the previous syntax but perhaps there could be an option to
> select the default behavior?

What you're trying to do does not produce a code block *in* a list, but
a list *followed* by a code block, in fact this change enables you to do
what you want:

* An item.

   `code_block_inside_list_item()`

* Next item.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk