- Use the common-tags package from your Ember app.
ember install ember-common-tags
import { stripIndent } from 'common-tags';
const unindentedString = stripIndent`
This tag is indented really far,
but the unindentedString var won't be!
`;
Consult the common-tags documentation for the full list of available tags.
This addon is tested against the release
, beta
, and canary
channels, as
well as the latest LTS.
A special thanks to the following contributors:
- Dan Freeman (@dfreeman)
git clone https://github.com/bgentry/ember-common-tags
this repositorycd ember-common-tags
npm install
bower install
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.