Colon before Code Blocks

Alexander Johannes lists at kaseinet.de
Thu Mar 25 05:29:19 EST 2004


Hello,

i cant see why it is necessary to put a colon before the paragraph,  
that should be formatted as a code block. I know, that i can put a  
space before the colon, so that it dont appears in the output, but i  
also would like to provide the pure markdown-formatted text to post it  
to the usenet, or print it. In this cases, the single colon occurs a  
little bit misplaced. Currently i'm reformatting  
<http://faq.de-soc-mac.de/> to use Markdown and i found several  
articles, where i have to put a colon before a code block, though it  
wouldn't be necessary, when you consider the context of the paragraph  
or sentence.
Maybe i should provide an example°, even if it is in german:

----
Durch die Eingabe von

     sudo diskutil disableJournal /

kann man diese Aktion rückgängig machen.
----

This is better readable than typing

----
Durch die Eingabe von `sudo diskutil disableJournal /` kann man diese  
Aktion rückgängig machen.
----

At the moment i have to write

----
Durch die Eingabe von :

     sudo diskutil disableJournal /

kann man diese Aktion rückgängig machen.
----

to force Markdown to format the second line as exspected. This is  
semantically wrong.

To come to an end: is there a technical reason, doing it this way, or  
do i have to exspect a change in a future Release of Markdown? If it  
has already discussed at the past, i would be glad, if you point me to  
that discussion in the archive.

Apart from that, i'm very happy with Markdown, because i felt instantly  
home, wehen i started using it. Thanks for the great work :)!

Alex

°) The example is taken from  
<http://faq.de-soc-mac.de/systempflege/ 
wie_verhalte_ich_mich_nach_einem_systemabsturz_unter_os_x.shtml> resp.  
<http://faq.de-soc-mac.de/systempflege/ 
wie_verhalte_ich_mich_nach_einem_systemabsturz_unter_os_x.text>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 155 bytes
Desc: Signierter Teil der Nachricht
Url : http://six.pairlist.net/pipermail/markdown-discuss/attachments/20040325/a800e47f/PGP.bin


More information about the Markdown-discuss mailing list