Topic: New extension: Textile BBCode Wrapper
I've written a new PunBB 1.3.x extension (Textile BBCode Wrapper) that allows the user to compose a post (or signature) using Textile markup. Once the extension is installed, a post can be written in Textile by enclosing the entire message (or signature) in the new [textile]...[/textile] BBCode tag. Existing and future posts written using standard BBCode are completely unaffected and continue to work exactly the same. But new posts written using this new [textile] BBCode tag will be parsed by the classTextile.php code and HTML will be generated according to the Textile syntax. The extension adds a new section to the BBCode help page which describes some of the supported Textile syntax.
Note that, the [textile] start tag must be the very first text in the post and the [/textile] end tag must be the very last text in the post. It is a simple extension that uses the TextileRestricted() method of the classTextile.php class that was borrowed from the Textpattern 4.0.8 distribution. This restricted subset of the Textile code should be web safe (it does not allow setting element classes or attributes, but does allow a large subset of the Textile syntax - it uses the same subset as the Textpattern.org forums). Although I've christened it with an initial version of v0.1.0, its actually been tested pretty rigorously and works without any problems on PunBB 1.3.4 (but of course I am just one tester and would appreciate feedback from any other users.)
Download it here: jmr_textile_v0.1.0_20090719.zip
Enjoy!
Jeff Roberson - 2009-07-19