Hacker News new | ask | show | jobs
by shurcooL 4429 days ago
I see, thanks. That's intended behavior.

It's related to the decision of whether to enable EXTENSION_HARD_LINE_BREAK, which I've currently left off. So in order to start a new paragraph, you need to leave a empty line in between.

It assumes you're using automatic word wrapping in your editor to wrap the paragraphs (this works well if you resize your editor width, or type extra text in the middle of it - the text within the paragraph is reflowed automatically and doesn't go offscreen).

I can understand that's a deal-breaker for you if you're not willing to use word wrap in your editor.

1 comments

  > So in order to start a new paragraph, you need to leave a empty line in between.
If you are aware of this why do you chomp the new line at the bottom of a file? I can no longer assume ` cat 1.md 2.md|sometool` will work.