[pmwiki-users] formatting, indent
Patrick R. Michaud
pmichaud at pobox.com
Sat Feb 11 11:52:55 CST 2006
On Fri, Feb 10, 2006 at 03:39:25PM -0700, H. Fox wrote:
> On 10 Feb 2006 14:16:12 +1300, John Rankin <john.rankin at affinity.co.nz> wrote:
> ...
> Currently, PmWiki starts a new paragraph at <newline><newline><text>, like
>
> Paragraph one.
>
> Paragraph two.
>
> which produces
>
> <p>Paragraph one.
> </p>
> <p class='vspace'></p><p>Paragraph two.
> </p>
With everything else that has been going on I've kinda lost the details
of this thread, so I'll try to jump in the middle with my thoughts
(and I ask indulgence for anything I mess up/overlook):
Actually, PmWiki starts a new paragraph with the first markup line
that doesn't result in some other form of block markup. The blank
line isn't required. Thus
* list item
paragraph text
produces
<ul><li>list item
</li></ul><p>paragraph text
</p>
> What's being suggested (I thought) is an alternative way to indicate
> the start of a paragraph, like
>
> Paragraph one.
> +Paragraph two.
This is what I'm looking for... a way to positively indicate
the start of a new paragraph. Currently we only obtain paragraphs
implicitly -- i.e., markup lines that aren't part of any other block.
> Paragraph one.
> +Paragraph two.
>
> are similar, except the second example treats paragraph two a a
> paragraph that may be styled differently.
>
> I think the default alternative paragraph style should be "book-like"
> paragraphs that are indented, with no blank line between.
I'm thinking the indent will be a skin setting or local customization,
as opposed to a PmWiki default.
> > I was more meaning that +start of line markup gives you
> > multiparagraphs for free. And wanted to explore whether
> > pmwiki should treat +start of line the same way in all
> > cases, ie
> >
> > Stuff
> > +more stuff and
Probably (formatted here for legibility, PmWiki would place the
linebreaks differently):
<p>Stuff</p>
<p class='foo'>more stuff and</p>
> > #Stuff
> > +more stuff
<ol><li>Stuff</li></ol>
<p class='foo'>more stuff</p>
> # Stuff
> +more stuff and
> # Stuff
>
> more stuff
<ol><li>Stuff</li></ol>
<p class='foo'>more stuff and</p>
<ol><li>Stuff</li></ol>
<p class='vspace'></p>
<p>more stuff</p>
> ... if that matters, because that's not markup you're likely to
> actually see. These probably matter more:
>
> # Stuff
> +more stuff and
> # Stuff
>
> more stuff and
<ol>
<li>Stuff
<p class='foo'>more stuff and</p></li>
<li>Stuff
<p class='vspace'></p>
more stuff and</li>
</ol>
Using '+' also begs the question of what happens with multiple '+'s,
do we get indented paragraphs?
here is text
+here's a paragraph
++what's this?
Pm
More information about the pmwiki-users
mailing list