Skip to content
PHP extension that wraps the discount Markdown library; PECL markdown package.
Find file
Latest commit 1ca7b7e @cataphract Add TODO
Failed to load latest commit information.
examples Updated documentation.
lib Merge branch 'discountlib' (ac689f3)
tests Merge branch 'discountlib' (ac689f3)
.gitattributes Added .gitattributes
.gitignore Added to .gitignore: autom4te.cache
API-1.0.0 Prepare for 1.0.0 release
CREDITS Prepare for 1.0.0 release
MarkdownDocument.php Update docs
README - typo.
RELEASE-1.0.0 Prepare for 1.0.0 release
config.m4 Merge branch 'discountlib' (ac689f3)
config.w32 Merge branch 'discountlib' (ac689f3)
discount.c - Cabeçalhos de direitos autorais melhorados.
discount.dsp Import.
discount.vcxproj Fixed borked visual studio project.
discount.vcxproj.filters Fixed discount.vcproj.filters.
discount.vcxproj.user Import.
markdowndoc_class.c Merge branch 'discountlib' (ac689f3)
markdowndoc_class.h Fixed problem in setReferencePrefix().
markdowndoc_meth_callbacks.c Prepare for 1.0.0 release
markdowndoc_meth_callbacks.h Prepare for 1.0.0 release
markdowndoc_meth_document.c Prepare for 1.0.0 release
markdowndoc_meth_document.h Prepare for 1.0.0 release
markdowndoc_meth_header.c Prepare for 1.0.0 release
markdowndoc_meth_header.h Prepare for 1.0.0 release
markdowndoc_meth_input.c Prepare for 1.0.0 release
markdowndoc_meth_input.h Prepare for 1.0.0 release
markdowndoc_meth_misc.c Fixed problem in setReferencePrefix().
markdowndoc_meth_misc.h Prepare for 1.0.0 release
markdowndoc_meth_parts.c Prepare for 1.0.0 release
package.xml Added lib/CREDITS, lib/COPYRIGHT and lib/VERSION to package.xml.
php_discount.h Bump to 1.1.0-dev


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
Something went wrong with that request. Please try again.