[pmwiki-users] Page with contents of a list
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Sun Apr 16 10:00:26 CDT 2006
On 27 Mar 2006, John Rankin wrote:
> >A way for us to mark sections of the page as teaser would be good.
> >Simply including the first x words means that we have to change the way
> >we write.
> >
> The (:para PageName#anchor:) markup (part of the MarkupExtensions and
> PublishPDF recipes) inserts the paragraph on PageName that follows
> [[#anchor]]. So you could write:
>
> [[#teaser]]
> Which is more dangerous, a present from Zoltar, or a horde
> of kids waiting for the opening of the Easter Egg hunt in Washington DC?
I've got some questions here (I probably used to know this stuff, but
even so it's probably good to let others know as well):
* How is a paragraph defined/delimited in this context? Is it until
there's an empty line in the source, or is it just a single line?
* What does (:para SomePage#anchor:) return if SomePage doesn't contain
the anchor '#anchor'? Does it return the very first paragraph of the
page?
* What does (:para SomePage:) do? Does it assume e.g. #teaser to be the
default name of the anchor if you don't specify an anchor explicitly?
cheers
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list