[pmwiki-users] Outdented List Items?

Pico pmwiki at ben-amotz.com
Fri Jul 7 06:25:44 CDT 2006


Stirling Westrup wrote:
> I would like for multi-line items in my sidebar to indent the second and
> following lines. For a simple paragraph, one would just use outdent
> markup, but the sidebar items are in a list, and are being generated by
> a pagelist template. I have no idea how to achieve this simply.
> 
> What I would like is for this:
> 
> %sidehead%header
> * this is a very long line.
> 
> To format like this:
> 
> header
>   this is a very
>     long line.
> 
> Rather than like it currently does:
> 
> header
>   this is a very
>   long line.
> 
> Any suggestions?
> 

Are you sure you can't just use outdent markup in a pagelist template 
(instead of bullets).  For example:

[[#sidedesc]]
(:if ! equal {<$Group} {=$Group}:)
%sidehead%[[{=$Group}]]
(:if:)
-<[[{=$Group}/{=$Name}]] %font-size=smaller 
font-style=italic%{=$Description}%%\\
[[#sidedescend]]


Pico




More information about the pmwiki-users mailing list