Hacker News new | ask | show | jobs
by nat 3917 days ago
Part of the beauty of Markdown is that you don't have to use soft wrapping. Consecutive lines (with no empty lines in between) are combined into paragraphs.

I put every sentence (or longer clause) on its own line. This keeps the navigation paradigm the same. And more importantly, diffs are still readable. If you're doing any kind of collaboration or revision with your Markdown documents, trying to read diffs with one change in the middle of a paragraph-long line is quite frustrating.

1 comments

I hadn't considered this approach. It seems potent for revision history, but frustrating for reading and review within the source files, or do have vim configuration aids to html/markdown wrap and navigation?
Yeah, I suppose reading a bunch of one-sentence-per-line paragraphs might be a bit sub-optimal, but I haven't found it to be a problem in practice. For longer documents, it's not much trouble to read the rendered version and do edits in the source.