[ANN] PHP Markdown 1.0.1b8

Michel Fortin michel.fortin at michelf.com
Mon Dec 13 19:42:26 EST 2004


Download here: 
<http://www.michelf.com/docs/projets/php-markdown-1.0.1b8.zip>

Same changes as the Perl version:

+	Changed the syntax rules for code blocks and spans. Previously,
	backslash escapes for special Markdown characters were processed
	everywhere other than within inline HTML tags. Now, the contents
	of code blocks and spans are no longer processed for backslash
	escapes. This means that code blocks and spans are now pretty
	much WYSIWYG, with no special rules to worry about regarding
	backslashes.

	**IMPORTANT:** This breaks the syntax from all previous versions
	of Markdown. Code blocks and spans involving backslash characters
	will now generate different output than before.

	Implementation-wise, this change was made by moving the call to
	_EscapeSpecialChars() from the top-level Markdown() sub to
	within _RunSpanGamut().

+	Added `+` and `-` to the list of backslash-escapable characters.
	These should have been done when these characters were added as
	unordered list item markers.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/



More information about the Markdown-Discuss mailing list