"Crops" template strings to remove the excess whitespace needed to make the code more readable.
At it's core it's just a template tag function that wraps around stripIndent(trimLines(str)) so it uses stripIndent's defaults (i.e. it only strips tab indents).
"Crops" template strings to remove the excess whitespace needed to make the code more readable.
At it's core it's just a template tag function that wraps around
stripIndent(trimLines(str))
so it uses stripIndent's defaults (i.e. it only strips tab indents).