Subclassing the formatter (was: Re: Introduction and Hyphen Problem)
[email protected] (Andrew McFarland) Sun, 28 Nov 2004 09:34:31 +0000
| Newsgroups | perl.kwiki |
|---|---|
| Message-ID | <[email protected]> |
Brian Ingerson wrote: > The way to allow hyphens or anything else in wiki words is to subclass the > formatter. I won't go into detail here and now. Maybe someone else can. I needed to change the formatter so I could add blockquotes. I eventually go it working, but there were a couple of things about it I didn't like. My source code is at http://aamcf.co.uk/kwikimods/Formatter.2004-11-11.txt, and I'd appreciate any feedback - my hacking was strictly at the cargo-cult level. Doing something similar for 0.18 is covered on http://www.kwiki.org/?KwikiBlockquotes