If I use simple space indentation to create a <PRE> block, like this:
#! /bin/sh echo "Hello world!"
it shows up with leading spaces. I'd like to be able to select and copy the text directly from the browser -- how can I get rid of the leading spaces?
Add the following line to your local/config.php:
$BlockMarkups['pre'] = array('<pre>','','</pre>',0);
This is actually a bug in PmWiki -- now fixed for 2.0.beta29.