nteract / hydrogen

:atom: Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
https://nteract.gitbooks.io/hydrogen/
MIT License
3.93k stars 333 forks source link

Markdown cells could support <br> as line breaks #2146

Open merplumander opened 2 years ago

merplumander commented 2 years ago

:memo: Summary

I wish I could enforce a line break in markdown cells with something other than two spaces at the end of the line. Trailing spaces are removed by many automatic code clean-up procedures such as black and so I consistently have the problem that my markdown cells end up without line breaks.

:checkered_flag: Motivation

My hope is that I can keep using black to automatically format my .py files. While also having the possibility of having line breaks in markdown cells in these .py files.