[Pmwiki-users] Newbie struggles with embedding pgm listings and cmd examples
Patrick R. Michaud
pmichaud
Wed Nov 3 08:31:25 CST 2004
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.
Pm
More information about the pmwiki-users
mailing list