format multiline strings using tagged templates, instead of puting all lines into an array and joining to a string
npm install montag> “If you don’t want a house built, hide the nails and wood.
> If you don’t want a man unhappy politically, don’t give him two sides to a question to worry him; give him one. Better yet, give him none.”
Format multiline strings using tagged templates, instead of puting all lines into an array and joining to a string.
```
npm i montag
`js
const montag = require('montag');
const str1 = montag
if (a > b)
console.log(c);;
const str2 = [
'if (a > b)',
' console.log(c)',
].join('\n');
str1 === str2;
// returns
true;
``
MIT
[NPMIMGURL]: https://img.shields.io/npm/v/montag.svg?style=flat&longCache=true
[BuildStatusIMGURL]: https://img.shields.io/travis/coderaiser/montag/master.svg?style=flat&longCache=true
[DependencyStatusIMGURL]: https://img.shields.io/david/coderaiser/montag.svg?style=flat&longCache=true
[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/montag "npm"
[BuildStatusURL]: https://travis-ci.org/coderaiser/montag "Build Status"
[DependencyStatusURL]: https://david-dm.org/coderaiser/montag "Dependency Status"
[LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License"
[CoverageURL]: https://coveralls.io/github/coderaiser/montag?branch=master
[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/montag/badge.svg?branch=master&service=github