[Pmwiki-users] Newbie struggles with embedding pgm listings and cmd examples

Bruce Files BFILES
Wed Nov 3 10:02:55 CST 2004



>>>> "Patrick R. Michaud" <pmichaud at pobox.com> 11/3/2004 9:31:08 AM
>>>
>On Wed, Nov 03, 2004 at 09:25:25AM -0600, Bruce Files wrote:
>> Even better would be a syntax that allows formatting to be applied
>> across the entire block, for example:
>> ->[@
>> this is my block of monospace code
>> every line in this block will be indented
>> because of the '->' preceeding the [@
>> it continues until a closing 
>> @]

>Try adding the following to your config.php:
>
>$HTMLStylesFmt['code'] = "code { white-space:pre; }\n";
>
>This will cause all [@...@] sequences to be displayed as preformatted
text.

I added the $HTMLStylesFmt suggested above to my config.php, then tried
this:
- - - -
* Copy the sample files delivered with [=ClearCase=] into your
''[=os390=]'' folder:

->[@copy "c:\program files\rational\clearcase\samples\*.*"
c:\ccstore\os390
@]
 
* Create a file called '''stunnel.conf''' that contains the following
lines:
- - - -
It works in the sense that the line is monospace, but it is still
wrapping the line.  Is there any easy way to prevent this?

>Pm

Thanks for your help!
bf






More information about the pmwiki-users mailing list