[Pmwiki-users] block-commands for comments and preformatted text

Patrick R. Michaud pmichaud
Tue Oct 26 07:15:10 CDT 2004


On Tue, Oct 26, 2004 at 09:15:14AM +0000, Knut Alboldt wrote:
> I searched the mailings and the docs and had a view on stdmarkup.php 
> - but found nothing, so I've to ask:
> 
> Is there (in v2) a markup for _blocks_ of 
> a) comment

Well, one can always do:

    (:if false:)
    comment
    comment
    comment
    (:if:)

I'm not sure that commented blocks deserve their own special markup,
although it might be nice to come up with a name other than 'false' for
the condition (i.e., (:if comment:) ... (:if:)).

> b) preformatted text (formatted as is without any wikiwords etc)

Same as PmWiki 1:

     [=    
    (note leading space before [=)
    here is my 
    preformatted text with WikiWords and 
    stuff
    =]

For clarity this one could conceivably get its own directive, as a
lot of authors seem to overlook this use of [=...=] in the documentation.

Pm



More information about the pmwiki-users mailing list