I have updated the documentation for Text_Wiki. The biggest changes are that CSS classes are now supported in all appropriate XHTML rendering rules, and TOC generation is much more streamlined and XHTML 1.1 compliant (with div tags and everything :-).

Are you stuck with a legacy PHP application? You should buy my book because it gives you a step-by-step guide to improving you codebase, all while keeping it running the whole time.