Word to Markdown via pandoc: prevent line breaks in paragraphs

Viewed 684

I'm using pandoc to convert Microsoft Word to Markdown. By default, it inserts line breaks into paragraphs at the point where they wrap in the original Word document. I would rather a paragraph be converted to a single line (as my Markdown files are further processed into Madcap Flare topics). Is there an option for this?

1 Answers

By default, pandoc inserts a newline in markdown output every 72 characters. You can change this with an option:

pandoc --wrap=none
Related