You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attached is a very simple markdown file which just contains 3 lines so 2 new lines between each line. Here's the contents with newlines escaped
'This is line 1\n\nThis is line 2\n\nThis is line 3\n\nAll of these lines were entered in the same markdown cell\n\n\n* Out list \n * inner\n * inner2\n\n* out list 2'
So we can see that \n\n is used to separate the lines. When this is rendered as a notebook the "\n\n" will be interpreted as a "cell break" and each line will end up being rendered as a separate cell.
I would much prefer to have contiguous blocks of markdown rendered as a single markdown cell. Rendering each line as a separate markdown cell really hurts readability as a result of excessive whitespace.
I also means that how my document is rendered changes from when I author it to when I reload it. When I first author the doc I will create a single markdown cell with multiple paragraphs in a single cell. Then I will save and reopen it. Now I will see multiple cells.
Understood. Runme's parser is a bit too stubbornly following the Commonmark standard here, where two line breaks will result in a new AST node. I'm pretty sure we should be able to weave them back together as part of analyzing the AST. I'll look into it.
Attached is a very simple markdown file which just contains 3 lines so 2 new lines between each line. Here's the contents with newlines escaped
So we can see that
\n\n
is used to separate the lines. When this is rendered as a notebook the "\n\n" will be interpreted as a "cell break" and each line will end up being rendered as a separate cell.I would much prefer to have contiguous blocks of markdown rendered as a single markdown cell. Rendering each line as a separate markdown cell really hurts readability as a result of excessive whitespace.
I also means that how my document is rendered changes from when I author it to when I reload it. When I first author the doc I will create a single markdown cell with multiple paragraphs in a single cell. Then I will save and reopen it. Now I will see multiple cells.
test_splitting.md
The text was updated successfully, but these errors were encountered: