[SVN] r4500 (Markdown)

Michael Sheets msheets at whitefalls.org
Mon Jul 24 09:21:00 UTC 2006


This is a lot of changes so everyone please test it thoroughly, I did as many test cases as I could but I'm sure some things fell through the cracks.

• Rewrote the bold/italics for the forth time; actually works this time I think. :) There is one major limitation I havn't worked around, italics can't end on a double __/** which it sometimes should do. Try as I might I can't think of a work-around. But I'll keep working on it.
• Allow nested [] inside the link-name of links.
• Fix the inline link rule to allow spaces in urls.
• Fix inline raw rule to match the Markdown wackyness.
• Fix code block rule to only end when line does not start with 4 spaces or tab.
• Combine separator rule into one rule. (From allan)
• Add scope for stand alone < since Markdown handles these. (Now HTML won't scope these invalid.)
• Change header scope from entity.name.function to entity.name.section
• Allow inline styles in atx-style headers.
• Only allow one optional space between ref link brackets.
• Add > to the list of escaped chars, because the \ is removed in this case. Even though having it escaped doesn't really do anything special otherwise.
• No longer allows any whitespace before list items; only spaces.
• Add alternate to the disabled block end condition to see if opening tag terminates on the same line.
• Add second disabled block rule to catch the one-liners.

Changed:
U   trunk/Bundles/Markdown.tmbundle/Syntaxes/Markdown.plist



More information about the textmate-dev mailing list