开发者

php wiki parser for trac-style formatting

开发者 https://www.devze.com 2023-04-07 17:02 出处:网络
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.

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

精彩评论

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

关注公众号