maxkrieger / voiceliner

Braindump better.
https://a9.io/voiceliner
GNU Affero General Public License v3.0
627 stars 42 forks source link

Mardown Export - Newlines get missinterpreted #56

Open bvorak opened 2 years ago

bvorak commented 2 years ago

Hey there, thanks for the App! A small bug I have noticed: If a Voiceline-Item includes a newline / linebreak, the corresponding mardown list from the export breaks at this point.

Hope the bug is reproduceble this way,

Kind regards.

benjaffe commented 2 years ago

What would be the expected behavior for line breaks exported to Markdown?

Voiceliner exports like this:

image

Logseq handles this by exporting the line break, and indenting subsequent lines.

image

I found this too, which suggests two spaces at the end of the line should indicate a line break. https://gist.github.com/shaunlebron/746476e6e7a4d698b373

bvorak commented 2 years ago

I was hoping for the text after a new line to end up with the same amount of indentation as its bullet point/note.

But if new line rendering depends from Markdown editor to editor as this article suggests https://support.typora.io/Line-Break/

then im not sure what voiceliner should do.

Thanks for looking into it