Enhancing Export: Line Break Disappears after docx Export

What I’m trying to do

Wen exporting a note to docx using the Enhancing Export plugin, line breaks aren’t respected, i.e.

Test, test.
Testing.

becomes

Test, test. Testing.

after export.

Things I have tried

I tried making the line break with ENTER and ENTER+SHIFT; both lead to the same export result where there’s no line break. @Feralflora do you mind helping out here? thanks!

Are your line break respected in reading mode? Have you tried adding two spaces at the end of lines where you want the line to break, and not be continued/collated into a seamless paragraph?

Yes, both in live and reading view it’s respected, only breaks in the export.
I’ve tried doing the double space and that worked! Do you know why it’s happening, @holroy?

Using the double spaces is the correct way according to markdown specification to break lines within a paragraph. Other ways of doing might work depending on the markdown used.

Add the hard_line_breaks format extension to your from argument and you’ll be good. See the pandoc docs if you don’t know what I mean.