2

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.

JW.
  • 4,821
  • 5
  • 43
  • 60

2 Answers2

2

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.

Community
  • 1
  • 1
JW.
  • 4,821
  • 5
  • 43
  • 60
1

PHP Markdown might work for you.

Shane Wealti
  • 2,252
  • 3
  • 19
  • 33
  • Thanks. Its exactly the kind of thing that I'm looking for, only the syntax is not ideal. If all else fails then this is a great substitute. – JW. Sep 23 '11 at 18:29