.. | ||
img | ||
src | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.npmignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
rollup.config.js |
freesewing
a library for made-to-measure sewing patterns
plugin-banner
A freesewing plugin to repeat text on paths.
Install
Install this plugin from NPM:
npm install --save @freesewing/plugin-banner
Usage
To load this plugin, add it to your instantiated pattern:
import pattern from '@freesewing/pattern-brian'
import theme from '@freesewing/plugin-theme'
import banner from '@freesewing/plugin-banner'
pattern.with(theme).with(banner);
You now have the banner
macro available:
macro("banner", {
path: "hem",
text: [
"hem",
": 2x",
"seamAllowance"
]
});
FIXME: Link to documentation
Where to get help
Questions? Stuck? The freesewing chat room on Gitter is the best place to ask for help.