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

John Rankin john.rankin at affinity.co.nz
Sun Oct 16 18:00:21 CDT 2005


On Friday, 14 October 2005 10:14 PM, 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
>> 
>Umm... how is this different from
>
>	# item 1 \\
>	text continuation \\
>	more text
>
>	# item 2
>
>/Christian
\\ produces <li>item 1<br />text continuation<br />more text</li>

:: produces <li><p>item 1</p><p>text continuation</p><p>more text</p></li>

This lets us generate better paragraph spacing between the list paragraphs -- typically, the space between paragraphs within list items is less than the space between list items and more than the space between lines.

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list