Thanks a lot for the explanation!
One last off-topic question:
Is there a predefined way to enter HTML directly, instead of constantly
having to define own tags to do this for you? For example, I simply want to
put this in a page:
<a onclick="showNews('entry', 'morenews');">
But you can't simply do that with default links. So I'll have to do
something like
(:onclicklink showNews('entry', 'morenews'):)
and translate it in a cookbook script with Markup() to the 'real' link.
You've all been realy helpful! :-)
- Wouter
On 1/15/07, Patrick R. Michaud <[EMAIL PROTECTED]> wrote:
On Mon, Jan 15, 2007 at 08:04:16PM +0100, Wouter Groeneveld wrote:
> Thanks, that seems to work :-)
> Although, what exactly is " <:vspace>" suddenly? I first thought it
had
> something to do with the lack of styles but I tried temporary
including
> the header and it doesn't go away. I can simply filter it of course,
but
> I'm rather curious.
<:vspace> is how PmWiki marks "true" blank lines in the original
markup (for paragraph spacing) versus lines that "become blank"
in the process of handling other markup rules.
For example, given the markup
Here is some text
(:comment xyz:)
and some more text
Here is a new paragraph.
The blank line is used to indicate the end of a paragraph
that reads "Here is some text and some more text". But we
have to be careful that when PmWiki processes the (:comment:)
directive (i.e., by removing it) that the remaining markup
rules don't think that the resulting blank line is an
end-of-paragraph marker.
So, when PmWiki first reads markup for processing, it replaces any
truly blank lines (i.e., empty lines or lines with only whitespace)
with temporary "<:vspace>" markers to indicate where the blank
lines were in the original markup. It then uses these <:vspace>
markers to determine where the author intended to have vertical
space, instead of just looking for blank lines (some of which
may simply be artifacts of other markups being processed).
Pm
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users