Block quotes with a blank line between them get merged

Waylan Limberg waylan at gmail.com
Thu Oct 19 12:55:10 EDT 2006


On 10/19/06, Eric Daspet <eric.daspet at survol.net> wrote:

>

> Le Jeu 19 octobre 2006 14:43, Michel Fortin a écrit :

> > ~ <title>

> > <?php echo $title ?>

> > </title>

>

> and

>

> > ~ <style>

> > ~ <?php echo $stylesheet ?>

> > ~ </style>

>

>

> Both solutions have a *major* problem : you can't copy/paste code. You

> have to add/delete these ~ on each line.

> IMHO the last proposal is the only one which is acceptable :


I think Eric brings up an interesting point. That is even a
shortcomming of indented code blocks, you have to either add or remove
the extra whitespace when copying or pasting the code to or from a
markdown document. Whereas, an un-indented codeblock is easily copied
and pasted with no altercations to the code. I know there have been
times when I have gotten confused when my code contains mutiple layers
of indentation. ("Did I already indent/un-indent this line?") That
said, the indented code blocks have been used for some time now
without much problem. Just an interesting observation really.


>

> ~~~

> <title>

> <?php echo $title ?>

> </title>

> ~~~

>

>

> --

> Eric Daspet

>

> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss

>



--
----
Waylan Limberg
waylan at gmail.com


More information about the Markdown-Discuss mailing list