Consecutive code blocks
    David Parsons 
    orc at pell.portland.or.us
       
    Thu Apr 14 01:01:38 EDT 2011
    
    
  
On Apr 13, 2011, at 6:22 PM, David Chambers wrote:
> > 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. ;)
     I'm assuming you're planning on using some sort of css
that highlights your code blocks and you want to have some
sort of automatic visual separator between them?
     Wouldn't the <!-- two code blocks, please --> thing make
a good visual separator in the source document?
     -david parsons
    
    
More information about the Markdown-Discuss
mailing list