The original Markdown Perl library has seen wide-spread adoption and is today a de-facto text formatting syntax for online services like GitHub, BitBucket, and many other more.
It's extremely easy to learn and use, even without a rich text editor, and allows an in-depth control of the text's formatting via simple ASCII based characters.
The PHP library works as the original Perl version, supporting all the original syntax, plus some extra new ones.
Extra version features:
Inline HTML
Markdown Inside HTML Blocks
Header Id Attribute
Fenced Code Blocks
Tables
Definition Lists
Footnotes
Abbreviations
Emphasis
Backslash Escapes
As the original, the PHP Markdown library converts that syntax from Markdown to HTML and back if needed.
What is new in this release:
- The HTML block parser will now treat <figure> as a block-level element (as it should) and no longer wrap it in <p> or parse it's content with the as Markdown syntax (although with Extra you can use markdown="1" if you wish to use the Markdown syntax inside it).
- The content of <style> elements will now be left alone, its content won't be interpreted as Markdown.
- Corrected an bug where some inline links with spaces in them would not work even when surrounded with angle brackets.
- Fixed an issue where email addresses with quotes in them would not always have the quotes escaped in the link attribute, causing broken links (and invalid HTML).
- Fixed the case were a link definition following a footnote definition would be swallowed by the footnote unless it was separated by a blank line.
What is new in version 1.2.5:
- Fixed an issue preventing fenced code blocks indented inside lists items and elsewhere from being interpreted correctly.
- Fixed an issue where HTML tags inside fenced code blocks were sometime not encoded with entities.
What is new in version 1.0.1n:
- Enabled reference-style shortcut links.
- Now accepting many valid email addresses in autolinks that were previously rejected.
- Now accepting spaces in URLs for inline and reference-style links.
- Fix for adjacent list of different kind where the second list could end as a sublist of the first when not separated by an empty line.
- Fixed a bug where inline-style links wouldn't be recognized when the link definition contains a line break between the url and the title.
- Fixed a bug where tags where the name contains an underscore aren't parsed correctly.
- Fixed some corner-cases mixing underscore-ephasis and asterisk-emphasis.
Requirements:
- PHP 5.3 or higher
Comments not found