[Pmwiki-users] Re: Idea for extension of special list syntax
chr@home.se
chr
Sat Jan 22 09:22:12 CST 2005
On Fri, 21 Jan 2005, Patrick R. Michaud wrote:
> > Do you still feel that way if we make it clear that it's the position of
> > the starting text of the element that the following text need to be
> > aligned with?
>
> Okay, I'll bite -- exactly how do we make it clear? I.e., could you
> write the text and examples that explain it? ;-)
I'd be happy to write documentation (text/examples) if you afterwards try
to come up with a a piece of .php-code that implements it. I know I'd be
using that recipe on my sites - maybe this a good way to move forward?
The code would initially only have to handle items in levels one, two and
three - I suspect that'd be the majority of the cases anyway.
> And what happens with...
>
> * Level 1 item
> This is part of the level 1 item
> ** Level 2 item
> ** Level 2 item
> This is a part of the level 2 item
> Is this preformatted text?
Yes, that's preformatted text in my mind but I'm not religous about it ;-)
Others might prefer a more relaxed interpretation, but then you'd need
something else to get preformatted text.
These kinds of questions should become clear if I write some text and
examples, so if you'd like we could discuss it after I've written that.
> or ....
>
> * Level 1 item
> This is part of the level 1 item
> ** Level 2 item
> ** Level 2 item
> This is part of the level 2 item
> What is this?
The last line should be preformatted text...
It doesn't solve the problem of continuing a previous item this way... but
I think Neil is right about counting spaces being bad in this case.
/Christian
--
Christian Ridderstr?m, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list