[ANN] Markdown.pl 1.0.1b8

John Gruber gruber at fedora.net
Mon Dec 13 00:31:04 EST 2004


Download:

  <http://daringfireball.net/projects/downloads/Markdown_1.0.1b8.zip>

As mentioned in a (longish) post a few minutes ago, this release
introduces a minor break in Markdown's syntax, regarding the
handling of backslashes in code blocks and spans.

    1.0.1b8:

    +   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.


This time, for real, I don't anticipate any further changes before
releasing 1.0.1 publicly.

-J.G.


More information about the Markdown-discuss mailing list