Processes the Markdown language with the bundled discount library.

Markdown is a lightweight markup language created by John Gruber. It is also
the name of the original tool written in Perl that converts such markup into

This library is a wrapper for a modified version of the discount Markdown
processor, created by David Parsons. It supports several extensions of the
original Markdown language, including smartypants-style substitutions, pandoc-
style document headers, and parts of Markdown Extra.

The modifications to discount include discarding several parts important only
to stand-alone applications that accompany the library code, better consistency
in library interface functions, thread-safety without eager initialization of
globals, usage of the Zend memory manager and support for Microsoft Windows.

Discount is available at <>.

The page of the original Markdown is available at

Windows binaries (VC 9, x86, 1.0.0), with PDB files:

This extension is also compatible with PHP 5.2, but no Windows binaries will be provided here.

License: New BSD License

Latest releases

Version Release Download
1.0.0 2012-02-21 markdown-1.0.0.tgz
0.2.0 2011-01-11 markdown-0.2.0.tgz
0.1.0 2009-03-15 markdown-0.1.0.tgz
Show all releases


Version Message
1.0.0 - Updated to post 2.1.3 discount version (commit 6eacbc931b)
- Added MarkdownDocument::setReferencePrefix() method.
0.2.0 - Completely new codebase.
- More recent and tightly coupled discount library.
- Much richer interface.
- Interface incompatible with PECL markdown 0.1.0.
0.1.0 - initial release
Show complete changelog