plugin-annotations
Published as [@freesewing/plugin-annotations][1], this plugin provides a variety of snippets, macros, and store methods to annotate designs.
It is part of core-plugins (so it is available by default).
Snippets
The annotations plugin provides the following snippets:
Macros
The annotations plugin provides the following macros:
- banner
- bannerbox
- bartack
- bartackAlong
- bartackFractionAlong
- crossbox
- cutonfold
- grainline
- hd
- ld
- rmad
- rmahd
- rmald
- rmapd
- rmavd
- rmbanner
- rmbannerbox
- rmbartack
- rmbartackAlong
- rmbartackFractionAlong
- rmcrossbox
- rmcutonfold
- rmgrainline
- rmahd
- rmald
- rmapd
- rmavd
- rmhd
- rmld
- rmpd
- rmvd
- rmpleat
- rmscalebox
- rmsewTogether
- rmtitle
- pd
- pleat
- scalebox
- sewTogether
- title
- vd
Store methods
The annotations plugin also provides store methods:
- flag.error()
- flag.fixme()
- flag.info()
- flag.note()
- flag.preset()
- flag.tip()
- flag.warn()
- unflag.error()
- unflag.fixme()
- unflag.info()
- unflag.note()
- unflag.preset()
- unflag.tip()
- unflag.warn()
Installation
npm install @freesewing/plugin-annotations
Usage
Either add it as a part plugin in your design, or add it to a pattern instance with Pattern.use().
To import the plugin for use:
import { plugin } from '@freesewing/plugin-annotations'
Notes
This plugin is part of the core-plugins bundle, so there is no need to install or import it manually unless you wish to forego loading of core plugins yet still want to load this plugin.