[pmwiki-users] Styling within LI tags
Patrick R. Michaud
pmichaud at pobox.com
Tue Jan 27 07:44:10 CST 2009
On Mon, Jan 26, 2009 at 10:31:03PM -0500, DaveG wrote:
> Is there any way to force a paragraph within an LI element?
>
> I'd like to end up with something like this, but seem to be unable to
> create P tags (which are valid in list elements, unlike DIV tags), and
> can't have embedded style % elements:
> <li class='a'>
> <p class='b'>text <span class='b1'>b1</span> more</p>
> <p class='c'>next line</p>
> </li>
>
> I've tried many things, but without seem to be stuck without either
> being able to embed styles, or produce P tags. On a test page at DaveG/Test.
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
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.
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
Pm
More information about the pmwiki-users
mailing list