On Tue, Jun 19, 2012 at 08:24:26PM -0400, TNHarris wrote: > On Tue, Jun 19, 2012, at 05:51 PM, Chris Green wrote: > > I have just about managed what I want now by using a plugin to > > create a > > <div> block with a class that causes the stylesheet above to be used. > > Then, to prevent initial spaces from making DokuWiki changing > > the mode I use a nobreakspace as the first character of the line > > (this was a little more difficult than it might have been, I had > > to use xmodmap to change the keyboard layout to send a > > nobreakspace). > > > > In the div plugin, override the accepts method to return false when the > mode is 'preformatted'. You may also want to ignore 'listblock' which > also starts with two spaces. > Thank you, I think that's the 'proper' way to do it. No need for nobreakspace any more. -- Chris Green -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist