[TxMt] a bug in the Markdown bundle
Matt Neuburg
matt at tidbits.com
Sat Feb 15 19:21:49 UTC 2014
Make a Markdown document like this (ignore the equal signs, they are just to show you the boundaries of the document content)
===
* One
* Two
Three
===
The Markdown bundle marks "Three" as markup.raw.block. This is wrong. As you'll see if you preview the document, it is the second paragraph of the second-level markup.list.unnumbered.
To make things worse, the bundle turns off wrapping in markup.raw.block, so if "Three" is a long paragraph, now you can't read it because it runs off the right side of the window.
m.
PS Granted, nested lists in Markdown are annoying and incoherent; this is one of the main reasons why I use kramdown instead. Nevertheless, the syntax coloring and wrapping should try not to get in the way of constructing one's document.
--
matt neuburg, phd = matt at tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
More information about the textmate
mailing list