[pmwiki-users] Styling within LI tags

DaveG pmwiki at solidgone.com
Tue Jan 27 17:32:49 CST 2009

Patrick R. Michaud wrote:
> We still ought to come up with an explicit paragraph block marker.
> It's been discussed previously but I forget if we selected anything
> (or what was chosen).  I know we talked about 'P:' at one point --
> the above could then be done with:
>     * [==]
>       P: %p b% text %b1% more
>       P: %p c% next line
This looks rather like a variable definition though.

> A really odd choice might be to allow the %p% wikistyle at the
> beginning of a line to do double-duty as the "force a new 
> paragraph marker".
>     This is some text.
>     %p% This is a new paragraph,
>     and this is 
>     also part of that paragraph.
>     %p% This is a third paragraph.
>     %p right% This is a right-aligned paragraph.
This seems reasonable, but as styles currently work, we can't embed 
elements, which limits use somewhat. I like this as basic %x% styling 
means use a SPAN tag, and explicit %p x% means use a P tag.

> Somehow this feels very natural to me.  A list with nested
> (explicit) paragraphs would then be
>     * [==]
>       %p b% text %b1% more text
>       %p c% next line

  ~ ~ David

More information about the pmwiki-users mailing list