1
0
Fork 0
freesewing/packages/plugin-banner
2019-04-19 08:16:32 +02:00
..
img tada: Initial commit 2019-04-19 08:16:32 +02:00
src wrench: Updated rollup config 2019-04-19 08:16:32 +02:00
tests tada: Initial commit 2019-04-19 08:16:32 +02:00
.editorconfig tada: Initial commit 2019-04-19 08:16:32 +02:00
.gitignore tada: Initial commit 2019-04-19 08:16:32 +02:00
.npmignore tada: Initial commit 2019-04-19 08:16:32 +02:00
LICENSE tada: Initial commit 2019-04-19 08:16:32 +02:00
package-lock.json bookmark: v0.3.0 2019-04-19 08:16:32 +02:00
package.json bookmark: v0.3.0 2019-04-19 08:16:32 +02:00
README.md pencil2: Fixed readme 2019-04-19 08:16:32 +02:00
rollup.config.js wrench: Updated rollup config 2019-04-19 08:16:32 +02:00

Freesewing logo

 freesewing
a library for made-to-measure sewing patterns

Travis build Version License Code coverage DeepScan grade Chat on Gitter Become a Patron

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.