See this works for you:

   1) rename filename to end with .txt
   2) upload the file to the swiki page.

now you have a link to page can be display in TEXT.


--- [EMAIL PROTECTED] wrote:
> I did try to do the same with showing real XML code
> on page, but there it
> does not work.. Do you have another trick for that?
> 
> > -----Original Message-----
> > From: Felix Franz [mailto:[EMAIL PROTECTED]]
> > Sent: dinsdag 29 januari 2002 13:14
> > To: [EMAIL PROTECTED]
> > Subject: Re: [pws] Star which doesn't activate a
> page name.
> > 
> > 
> > John Fletcher wrote:
> > 
> > > I want to include C++ code in my wiki pages. 
> C++ contains *, so I 
> > > would like to do something which will print as *
> and will 
> > not activate 
> > > a swiki page name.
> > > 
> > > I have tried * which gets translated into a
> star, 
> > > 
> > > and ☆ which doesn't print.
> > > 
> > > ANy thoughts.
> > 
> > 
> > have you tried to sorround the C++-code using
> <html><pre>?
> > 
> > <html><pre>
> > #include <iostream>
> > #include <list>
> > #include <iterator>
> > #include <algorithm>
> > 
> > struct {
> >     void operator()(int i){cout<<i<<"\n";}
> > } c;
> > int main(){
> >     list<int> il(2,1);
> >     list<int>::iterator i1(il.begin()),i2(i1);i2++;
> >     back_insert_iterator<list<int> >i3(il);
> >     for(;*i1<20000;i1++,++i2)
> >             *i3=*i1+*i2;
> >     for_each(il.begin(),il.end(),c);
> >     return 0;
> > }
> > </pre></html>
> > 
> > works on swiki 1.1
> > 
> > 
> > Cheers,
> > 
> > 
> > felix
> > 
> > 
> > > 
> > > I am using an old swiki on Squeak 2.2
> > > 
> > > John
> > > 
> > > 
> > > 
> > 
> > 


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

Reply via email to