introduction
this is a library package that includes the php markdown parser and its sibling php markdown extra with additional features. originally it was a port to php of the markdown tool written by john gruber.
“markdown” is two things: a plain text markup syntax, and a software tool that converts the plain text markup to html for publishing on the web.
the markdown syntax allows you to write text naturally and format it without using html tags. more importantly: in markdown format, your text stays enjoyable to read for a human being, and this is true enough that it makes a markdown document publishable asis, as plain text. if you are using textformatted email, you already know some part of the syntax.
visit the concepts page for a short introduction full of examples where you will learn to write with markdown. if you have some understanding of html, you can also read the full documentation of markdown’s syntax, available on john’s web site.
requirement
this library package requires php 5.3 or later.
note: the older plugin/library hybrid package for php markdown and php markdown extra is still maintained and will work with php 4.0.5 and later.
before php 5.3.7, pcre.backtrack_limit defaults to 100 000, which is too small in many situations. you might need to set it to higher values. later php releases defaults to 1 000 000, which is usually fine.