No Markdown in <div>s or <table>s ?

Dan Dascalescu ddascalescu at gmail.com
Fri Apr 24 01:49:22 EDT 2009


On Thu, Apr 23, 2009 at 22:23, david parsons <orc at pell.chi.il.us> wrote:

> In article <534004cc0904231401m3ae87c98r3ed863192b678d71 at mail.gmail.com>,

> Sherwood Botsford  <markdown-discuss at six.pairlist.net> wrote:

>

>>I'm sure there are situations where you DONT want markdown to process

>>what is inside block tags

>

>   In my case, the situations are pretty near all of them.   I've tossed

>   some extensions into discount so I can wedge <div> and <span> into

>   the text without actually having to write them, so the only reason I

>   use vanilla html is when I'm adding snippets of html from external

>   sources


That's a very good point. I wrote up a summary of the whole discussion at
http://github.com/marcusramberg/mojomojo/issues#issue/16

IMO the best solution, as John Gruber suggested, is to implement
specific support for Markdown interpretation in HTML block-level
elements:

<div markdown="1">

Dan


More information about the Markdown-Discuss mailing list