jupytercalpoly / jupyterlab-richtext-mode

JupyterLab extension for rich text editing in the notebook
43 stars 18 forks source link

Empty lines lost when cell is run #13

Open isabela-pf opened 4 years ago

isabela-pf commented 4 years ago

When editing a markdown cell, I can add line breaks without text to add space between paragraphs as seen below. Screen Shot 2019-08-07 at 12 08 33 PM When I run the cell, all empty lines disappear and the spacing becomes the default between paragraph spacing. Empty lines both before and after a line of text will disappear. Screen Shot 2019-08-07 at 12 08 52 PM Users may want to manually space out paragraphs with empty lines, so we should figure out how to preserve empty lines in the final rendering of a cell.