26

Re: Textile Replacement for BBCode 1.0.1

so, im not replacing the bbcode tags um just adding new tags => textile tags
so _foo_ is replaced by <i>foo</i>
*this* is replaced by <strong>this</strong>
but [ b ]this[ /b ]  works, too

if you want h1 then set up a new rule, e.g.

'/^\h1\.\s(.*?)/m' =>  '<h1>$2</h1> '

then

h1. woot loot

will be

<h1>woot loot</h1>