JW.
JW.

Reputation: 4951

php wiki parser for trac-style formatting

I am creating a very simple cms for my site and rather than using html, I'd like to insert content in the same kind of wiki-format that's used by the Trac project.

Do you know of any open-source php scripts/classes that I can grab and use for this?

Note: I am not trying to create a wiki site. Just that formatting aspect - like how this stack exchange site accepts wiki mark-up and renders it nicely.

Upvotes: 2

Views: 725

Answers (2)

JW.
JW.

Reputation: 4951

After doing some more research, I think I've found it.

The Forever For Now wiki-syntax-to-html parser is pretty much the same as the formatting on the Trac project.

~I have not looked at the code yet, but its pretty likely to be cool. (like Fonzie)~

Edit - I've, now, looked at the code and its beautiful and elegant and does the job.

Upvotes: 2

Shane Wealti
Shane Wealti

Reputation: 2352

PHP Markdown might work for you.

Upvotes: 1

Related Questions