Skip to content

Instantly share code, notes, and snippets.

@jhunt
Created June 9, 2016 20:24
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 jhunt/9e90fe5becefc1d4f6ab71bdac73587c to your computer and use it in GitHub Desktop.
Save jhunt/9e90fe5becefc1d4f6ab71bdac73587c to your computer and use it in GitHub Desktop.
---
strip: |-
don't keep that trailing newline
it's worthless
keep: |
keep that newline
we really want it.
{
"keep": "keep that newline\nwe really want it.\n",
"strip": "don't keep that trailing newline\nit's worthless"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment