开发者

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 try开发者_开发百科ing to create a wiki site. Just that formatting aspect - like how this stack exchange site accepts wiki mark-up and renders it nicely.


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.


PHP Markdown might work for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜