[ANN] PHP Markdown 1.0.1i & Extra 1.1.5
Michel Fortin
michel.fortin at michelf.com
Fri Aug 31 16:18:58 EDT 2007
Earlier this week I talked about an updated version of PHP Markdown
which can parse the whole TextMate manual in about 1.5 seconds (iBook
G4 1.2 Ghz). Here it is.
I've also updated Extra. It's nowhere as fast as PHP Markdown right
now -- parses the TextMate manual in 5,8 seconds, and it doesn't
scale linearly -- but Extra still benefits much from PHP Markdown's
speed bump. Something tells me there's still much room for
improvement in Extra's HTML block parser, but that will be for
another update.
You can download both of them at the PHP Markdown web site:
<http://www.michelf.com/projects/php-markdown/>
Alternatively -- *and this is new* -- you can also grab packages
"markdown" and "markdownextra" from the "pear.michelf.com" channel
using the PEAR installer (available on almost all PHP installations),
or you can access the Git repository mirrored at <http://
git.michelf.com/php-markdown/>. More details to come.
Below you'll find the the official list of things that changed, but
don't be fooled by the size of that list. The "speed improvements"
item applies to various elements everywhere in the code and fixing
the escaped-backslash-in-front-of-a-code-span issue involves a small
regex-based incremental parser to handle span-level HTML, code spans,
and backslash escapes in one shot.
Extra 1.1.5 (31 Aug 2007):
1.0.1i (31 Aug 2007):
* Fixed a problem where an escaped backslash before a code span
would prevent the code span from being created. This should now
work as expected:
Litteral backslash: \\`code span`
* Overall speed improvements, especially with long documents.
Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/
More information about the Markdown-Discuss
mailing list