Re: Wiki formatting class or something similar
| From: | Stuart Dallas | Date: | Sat, 30 Apr 2011 13:13:17 +0000 |
| Subject: | Re: Wiki formatting class or something similar | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312587@lists.php.net to get a copy of this message | ||
On Friday, 29 April 2011 at 22:04, Andre Polykanine wrote:
Hi everyone,
> I allow my users to put some Html into their blogs. I filter it using
> a great tool called HtmLawed and written by Dr. Santosh Patnaik (if
> you're reading this, many thanks to you!).
> However, I would like to give them a possibility to mark-up their text
> in a more convenient way for beginners (such as Wiki or something
> similar).
> I searched through http://phpclasses.org/ but didn't find
> anything.
> Could you suggest me something?
> And one more question: maybe some of you already have a handy solution
> to process smilies? Say, a user writes ":)" and this is replaced by an
> image in my directory.
> Thanks in advance!
Markdown is a pretty good option for a wiki: http://michelf.com/projects/php-markdown/
Textile is another option (and supports tables which markdown does not): http://textile.thresholdstate.com/
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/