[TxMt] Markdown: Meta Info?

Dr. Drang drdrang at gmail.com
Thu May 4 13:29:21 UTC 2006


On May 4, 2006, at 3:29 AM, Stefan Brantschen wrote:

> Thanks for your help. Another question: what is the reason that  
> meta data keys cannot contain underscores "_" (or dashes "-"), but  
> blanks? Hence
>
> table_of_contents: yes => invalid
> table-of-contents: yes => invalid
> table of contents: yes => valid
>
> I realize that the MultiMarkdown script is coded this way  
> (_ParseMetaData) -- my question is if there's a specific reason to  
> do this (eg. related to XML, even though, AFAIK, at least dashes  
> are valid in XML)?

You should ask Fletcher Penney; my experience is that he would be  
happy to explain his reasoning. My two cents: the spaces are correct  
because Markdown is supposed to look like the natural typing of a  
human being. On the Markdown mailing list, many electrons are burned  
discussing matters like this.

--
Dr. Drang





More information about the textmate mailing list