aaren / notedown

Markdown <=> IPython Notebook
BSD 2-Clause "Simplified" License
855 stars 115 forks source link

Code and Text blocks may not always be alternate #61

Open ioggstream opened 7 years ago

ioggstream commented 7 years ago

I expect

Code and Text block to be subsequent

Instead

The implementation forces code and text blocks to be alternate

goerz commented 6 years ago

I would propose just using a double blank line to separate consecutive markdown cells. In the notebook to markdown conversion, simply add a blank line before and after every text block. In the markdown to notebook conversion, start a new cell anytime there is more than one blank line.