[pmwiki-users] white-space=pre
    christian.ridderstrom at gmail.com 
    christian.ridderstrom at gmail.com
       
    Mon Jul 17 05:25:52 CDT 2006
    
    
  
Just a tip.
I was trying to style an included text (from an external source) as 
preformatted, but I didn't want to put it inside [@..@]. This is a problem 
I've run into before, but now I managed to solve it like this:
In the configuration file, add this:
 	$WikiStyleCSS[] = 'white-space';
Then you can do something like this in your wiki pages:
 	>>white-space=pre<<
 	bla bla bla     ooh!
 	>><<
See this page for a demonstration.
 	http://wiki.lyx.org/Playground/WhiteSpace
and here's a similar page in pmwiki.org that doesn't work
 	http://pmwiki.org/wiki/WikiStyleWhiteSpace/WikiStyleWhiteSpace
because it hasn't set $WikiStyleCSS[].
Is there some other way of getting a block pre-formatted without using 
[@...@]?
/Christian
-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
    
    
More information about the pmwiki-users
mailing list