[TxMt] Mail language scope

Allan Odgaard throw-away-1 at macromates.com
Wed Oct 25 14:28:56 UTC 2006


On 25. Oct 2006, at 15:56, Fred B wrote:

> On 10/25/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
>> The Mail bundle includes Markdown, as we decided that Markdown was a
>> pretty good match for the syntax used in emails, and there is some
>> overlap between Markdown and emails (like increase/decrease quote
>> level and reflow quoted text).
> I think it's a great idea to include Markdown, the only problem I have
> with this is the need  of two spaces for hard linebreak. It's not a
> problem for what I write, as I'm used to Markdown, but the quotes are
> messed when previewing...

IMO this is a flaw of Markdown and should be changed.

I have raised the issue a few times, but the Markdown “community”  
seems more obsessed with things like how to treat two dashes inside  
XML comments, than fixing the multitude of problems and  
inconsistencies with block level environments and embedding of same ;)

Two other things I dislike about using Markdown for email is that  
bold (⌘B) wraps the text in two asterisks (and visually *bla* is  
italic), and that URLs are not underlined (and thus not  
“clickable”) unless written like this: <http://macromates.com/>.

The latter though scope injection will be able to easily solve  
(solving it now would require to override a large portion of the  
Markdown grammar, because URLs are matched inside block level  
elements including paragraphs).






More information about the textmate mailing list