Monday, June 16, 2008, 11:04:15 PM, [EMAIL PROTECTED] wrote:

> I wish to have a pre-formatted text block with some text struckout, some in
> different color, etc. Any idea how to do this?

you could use a mono-spaced font style. Try this:

add to config.php:

$WikiStyle['mono']['font-family'] ='Lucida Console, Courier, monospace';

use in page like:

%mono%this is mono spaced text

or

>>mono<<
a monospace div
...
>><<

To honour linebreaks use either (:linebreaks:) markup,
or put \\ at each end of line in your monospaced block,
or set in config.php
$HTMLPNewline = '<br />';

I don't know how to apply $HTMLPNewline = '<br />';
to a div as a style though.
It might need a custom markup to define custom divs
which break lines and apply monospaced font.


  ~Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to