markdown extension
| From: | Pierre Joye | Date: | Mon, 09 Mar 2009 22:43:00 +0000 |
| Subject: | markdown extension | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6203@lists.php.net to get a copy of this message | ||
hi,
I like to propose a new extension, markdown (PHP License 3.01). It
implements a binding around a modified discount library (it will use
only the parsing logic once I'm done). It is the early version,
however it can already parse from buffer or files. Full stream support
should come shortly as well. In the long run it should use xmlwriter
for the html generation, to avoid to have to tidy the html.
The OO interface is yet only composed of static methods. The idea is
to provide an advanced parser with more options as well as a callback
system (for the code block for example, to allow syntax highlighting
without having to parse the output).
Code and binaries (VC9 x86 5.3 only for now) can be read here:
http://blog.thepimp.net/misc/markdown/
Comments and suggestions welcome,
If there is no objection, I will commit it tomorrow evening :)
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org