[pmwiki-users] Re: Re: Indenting numeric lists, bullets, etc.

chr at home.se chr at home.se
Sun Oct 16 05:16:53 CDT 2005


On Fri, 14 Oct 2005, Waylan Limberg wrote:

> On 10/14/05, chr at home.se <chr at home.se> wrote:
> > On 14 Oct 2005, John Rankin wrote:
> >
> > > On Friday, 14 October 2005 1:31 PM, Anno <anno at shroomery.org> wrote:
> > > >Try
> > > ># Foobar[[<<]]This line should be indented along with the list item above (after
> > > >the numeric element)
> > >
> > > The Cookbook:MarkupExtensions offers the :: continuation markup.
> > > For example
> > >
> > > # item 1::
> > > text continuation::
> > > more text
> > >
> > > # item 2
> > >
> > > This makes the continuation text paragraphs within the list item,
> > > so they inherit the list item's indentation.
> >
> > Umm... how is this different from
> >
> >         # item 1 \\
> >         text continuation \\
> >         more text
> >
> >         # item 2
> >
> This adds <br /> tags (I think) to the output while John's solution
> wraps each line in a paragraph. If you want multiple paragraphs in one
> list item that is certainly more desirable that just line breaks. Of
> course, Mani will have to choose which fits his needs better.

I think the following works for getting paragraphs:

        # item 1 \\\
        item continuation in new paragraph \\\
        yet another new paragraph

        # item 2

How about that solution? Is that different from '::'?

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list