[pmwiki-users] Re: markup question
Patrick R. Michaud
pmichaud at pobox.com
Mon Jan 2 18:08:28 CST 2006
On Mon, Jan 02, 2006 at 05:11:18PM -0600, JB wrote:
> Pat,
>
> How would I do a markup in my local/config.php that would
> take "[monster]" and replace it with "(:cell id=monster":)"
>
>
> ## Markup('tcells', 'fulltext', '/[??]/', '(:cell $var :)' ); // this
> wont work
I'd probably do it as:
Markup('tcells', '<table', '/^\\[([a-z]\\w+)\\]/', '(:cell id='$1':)');
Pm
More information about the pmwiki-users
mailing list