Skip to content

Instantly share code, notes, and snippets.

@Scotchester
Created February 18, 2015 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Scotchester/a7e9feb25f4d96cc7b4f to your computer and use it in GitHub Desktop.
Save Scotchester/a7e9feb25f4d96cc7b4f to your computer and use it in GitHub Desktop.
Semantic Line Breaks

Please employ "semantic line breaks" here. I ask this because horizontal scrolling is the devil. (At least GitHub diffs don't do that anymore, but it can still happen in your text editor, depending on one's configuration.)

But seriously, the real reason is this: having multiple lines makes for easier diffing if you change a tiny part of a whole paragraph. See here for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment