[SVN] r4540 (Markdown)

Allan Odgaard throw-away-1 at macromates.com
Wed Aug 2 08:16:33 UTC 2006


• block quotes are now terminated when a separator occurs (to be consistent with Markdown.pl)
• block quotes support block level raw, headings, separators, and nested levels of block level quoting (each level adds markup.quote to the scope so to color double quoted text one would use ‘markup.quote markup.quote’ as scope selector.)

There is a slight variation compared to Markdown: if the number of leading quote characters (‘>’) on a line is lower than the line above (but higher than zero), TM will use the new lines quoting level.

Example, Markdown:

> level 1
> > level 2

> > level 2
> still level 2

> > level 2
still level 2

TextMate:

> level 1
> > level 2

> > level 2
> back to level 1 (unlike Markdown.pl)

> > level 2
still level 2

Seeing how this language grammar is now also used for emails, I really do not find the Markdown behavior desirable.

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



More information about the textmate-dev mailing list