[Pmwiki-users] something like a <pre> tag

Andreas 'ads' Scherbaum adsmail
Mon Mar 1 10:39:03 CST 2004


On Mon, 1 Mar 2004 10:06:29 -0700
"Patrick R. Michaud" <pmichaud at pobox.com> wrote:

> On Sun, Feb 29, 2004 at 07:44:55PM +0100, Andreas 'ads' Scherbaum
> wrote:
> > The [= =] doesnt really fits our needs, it stops pmwiki from parsing
> > the text, but doesnt take care on the line breaks.
> 
> I don't understand this last part that [=...=] doesn't take care of
> line breaks.  Does something like
> 
>       [=
>     #include <stdio.h>
> 
>     int main(int argc,char* argv[]) {
>         printf("Hello world\n");
>     }
> 
>     =]
> 
> not work for you, with everything appearing on a separate line?  Note
> the leading spaces prior to the first "[=", which causes the enclosed
> text to appear in a <pre> section.  This is how I've done my program
> and markup listings.

Ok, this was my mistake. It is explained in 'TextFormattingRules', i
overread it, because there doesnt appear "<pre>" (what i searched for)
and it was "only" an example, so i think, i skipped this part in mind.

Please forgot my question.


Kind regards

P.S.: dont reply to me, i'm subscribed.

-- 
				Andreas 'ads' Scherbaum
Failure is not an option. It comes bundled with your Microsoft product.
 (Ferenc Mantfeld)



More information about the pmwiki-users mailing list