in reply to Wiki (ish) formatting outside of a wiki

A 3-second perusal of the source for Text::WikiFormat reveals that the tags are listed in a package variable called ... wait for it ... %tags. It's a hash of names mapped to regexen that parse to that tag. So, you can easily change them and/or add to the tags.

Not to mention that there is a documented second argument to format() that allows you to modify the set of tags that are used. Read a little further down in the POD.

I haven't looked at the others. Remember - opensource doesn't make everything easy to use, but it provides all the power you would even want to use ... if you're willing to put a little time and elbow-grease into it.

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

I shouldn't have to say this, but any code, unless otherwise stated, is untested

  • Comment on Re: Wiki (ish) formatting outside of a wiki

Replies are listed 'Best First'.
Re^2: Wiki (ish) formatting outside of a wiki
by swiftone (Curate) on Aug 16, 2004 at 16:40 UTC
    d'oh, I stopped reading when it said only Strong and emphasized were configurable. I misunderstood what it was saying. Thanks for pointing it out.

    Though it does lack table support entirely. I might look into hacking that in if nothing else works for me.