I have an org-mode file, some sub-sections have some big paragraphs. When I export as html the whole paragraphs are displayed as single lines.

I understand that I have to put a '\\' on every line, a bit PITA, its around 4000 lines there. Is there any way, a parameter perhaps, that forces new line to each line that sits between paragraphs?



is #+OPTIONS: \n:t what you want (see org-export-preserve-breaks)?

place this line anywhere in your org-file to preserve line breaks.

ref: The Org Manual/Exporting/Export settings

  • what if I only want this option for a specific section? – Xerus Nov 23 '20 at 22:00

To separate paragraphs by a single line all you need is to add an empty line between each paragraph in your org-file like following:

First paragraph

Second paragraph

\\ is only required to add additional empty lines.

  • thank you, as I understand now, each paragraph is limited to a single line? or not.. – xMris Apr 10 '16 at 18:53
  • 1
    Each paragraph can be as long as you want. To create a new paragraph, you need to press enter twice in your org-file(== one empty line in-between). If you just press enter once, you'll only see a whitespace between those lines in your exported html file (since according to org-mode, you didn't create a new paragraph). – CantrianBear Apr 10 '16 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.