>
> > How about putting a dummy html comment in the middle, like:

> >
>     Code block

> >     One

> > <!-- two code blocks, please -->

> >     Code block
>     Two

It's good to know that this is a possibility, but that's exactly the sort of
hack I'm eager to avoid. ;)

~~~
foo
~~~
~~~
bar
~~~

Even the above feels a little dirty to me.

David


On 13 April 2011 18:09, David Parsons <o...@pell.portland.or.us> wrote:

>
> On Apr 13, 2011, at 5:59 PM, David Chambers wrote:
>
>  Hi folks,
>>
>> I just wrote some Markdown which featured the following code snippets:
>>
>>    <h1>TXJS 2011 Speakers</h1>
>>    <ul>
>>      <li><span>Brendan Eich</span></li>
>>      <li><span>Alex Russell</span></li>
>>      <li><span>Douglas Crockford</span></li>
>>      <li><span>Paul Irish</span></li>
>>    </ul>
>>
>>    ul {
>>      list-style: square outside;
>>      color: #ccc;
>>    }
>>
>>    li>span {
>>      color: #000;
>>    }
>>
>> The horrible styling above highlights the trailing whitespace a few lines
>> from the end.
>>
>> I would love this to be converted to two code blocks rather than one.
>>
>
>
>    How about putting a dummy html comment in the middle, like:
>
>        Code block
>        One
>    <!-- two code blocks, please -->
>        Code block
>        Two
>
>
>
> -david parsons
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss@six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
_______________________________________________
Markdown-Discuss mailing list
Markdown-Discuss@six.pairlist.net
http://six.pairlist.net/mailman/listinfo/markdown-discuss

Reply via email to