On 10/19/06, Eric Daspet <[EMAIL PROTECTED]> 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
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss
--
----
Waylan Limberg
[EMAIL PROTECTED]
_______________________________________________
Markdown-Discuss mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/markdown-discuss