Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655
.
This commit is contained in:
parent
994874fa72
commit
cba1ab19c8
6627 changed files with 25791 additions and 24211 deletions
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: bartack
|
||||
---
|
||||
title: bartack
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-bartack)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bartack)
|
||||
|
||||
The [@freesewing/plugin-bartack](/reference/packages/plugin-bartack) packages provides a plugin to help bartack points and/or paths around a given bartack line.
|
||||
|
@ -20,7 +20,7 @@ npm install @freesewing/plugin-bartack
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -31,7 +31,9 @@ import config from "../config";
|
|||
const Pattern = new freesewing.Design(config, bartack);
|
||||
```
|
||||
|
||||
Now you can use the
|
||||
[bartack](/reference/macros/bartack/),
|
||||
[bartackAlong](/reference/macros/bartackalong/), and
|
||||
Now you can use the
|
||||
[bartack](/reference/macros/bartack/),
|
||||
[bartackAlong](/reference/macros/bartackalong/), and
|
||||
[bartackFractionAlong](/reference/macros/bartackfractionalong/) macros in your parts.
|
||||
|
||||
|
||||
|
|
|
@ -1,25 +1,26 @@
|
|||
***
|
||||
|
||||
## title: bundle
|
||||
---
|
||||
title: bundle
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-bundle)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bundle)
|
||||
|
||||
|
||||
The bundle plugin bundles the most common FreeSewing build-time plugins:
|
||||
|
||||
1. [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns
|
||||
2. [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns
|
||||
3. [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns
|
||||
4. [plugin-logo](/reference/plugins/logo) : Add a scalebox to your patterns
|
||||
5. [plugin-scalebox](/reference/plugins/scalebox) : Add pretty titles to your pattern parts
|
||||
6. [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts
|
||||
7. [plugin-round](/reference/plugins/round) : Rounds corners
|
||||
8. [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your pattern
|
||||
1. [plugin-cutonfold](/reference/plugins/cutonfold) : Add cut-on-fold indicators to your patterns
|
||||
2. [plugin-dimension](/reference/plugins/dimension) : Add dimensions to your (paperless) patterns
|
||||
3. [plugin-grainline](/reference/plugins/grainline) : Add grainline indicators to your patterns
|
||||
4. [plugin-logo](/reference/plugins/logo) : Add a scalebox to your patterns
|
||||
5. [plugin-scalebox](/reference/plugins/scalebox) : Add pretty titles to your pattern parts
|
||||
6. [plugin-title](/reference/plugins/title) : Add pretty titles to your pattern parts
|
||||
7. [plugin-round](/reference/plugins/round) : Rounds corners
|
||||
8. [plugin-sprinkle](/reference/plugins/sprinkle) : Add multiple snippets to your pattern
|
||||
|
||||
Almost all patterns use these plugins, so it made sense to bundle them.
|
||||
|
||||
|
@ -31,7 +32,7 @@ npm install @freesewing/plugin-bundle
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -41,3 +42,4 @@ import config from "../config";
|
|||
|
||||
const Pattern = new freesewing.Design(config, plugins);
|
||||
```
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: bust
|
||||
---
|
||||
title: bust
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-bust)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bust)
|
||||
|
||||
The [@freesewing/plugin-bust](/reference/packages/plugin-bust) packages provides a plugin to help you adapt menswear patterns for breasts.
|
||||
|
@ -24,8 +24,8 @@ This is the same technique that's used in a full-bust adjustment to fit a womens
|
|||
|
||||
This plugin helps you by:
|
||||
|
||||
* Storing the chest circumference in `measurements.bust`
|
||||
* Changing `measurments.chestCircumference` to the value of `measurements.highBust`
|
||||
- Storing the chest circumference in `measurements.bust`
|
||||
- Changing `measurments.chestCircumference` to the value of `measurements.highBust`
|
||||
|
||||
This way you can extend a menswear pattern and have it drafted with the high bust measurement
|
||||
as chest measurment, after which you can create room for the breasts.
|
||||
|
@ -46,7 +46,7 @@ npm install @freesewing/plugin-bust
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -56,3 +56,5 @@ import config from "../config";
|
|||
|
||||
const Pattern = new freesewing.Design(config, bust);
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
***
|
||||
|
||||
## title: buttons
|
||||
---
|
||||
title: buttons
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-buttons)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-buttons)
|
||||
|
||||
The **buttons** plugin provides the following [snippets](/reference/snippets/):
|
||||
|
||||
* `button`
|
||||
* `buttonhole`
|
||||
* `buttonhole-start`
|
||||
* `buttonhole-end`
|
||||
* `snap-stud`
|
||||
* `snap-socket`
|
||||
- `button`
|
||||
- `buttonhole`
|
||||
- `buttonhole-start`
|
||||
- `buttonhole-end`
|
||||
- `snap-stud`
|
||||
- `snap-socket`
|
||||
|
||||
<Example part="plugin_buttons" caption="An example of the button, buttonhole, buttonhole-start, buttonhole-end, snap-stud, and snap-socket snippets" design={false} />
|
||||
|
||||
|
@ -42,7 +42,7 @@ npm install @freesewing/plugin-buttons
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -52,3 +52,4 @@ import config from "../config";
|
|||
|
||||
const Pattern = new freesewing.Design(config, buttons);
|
||||
```
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: cutonfold
|
||||
---
|
||||
title: cutonfold
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-cutonfold)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-cutonfold)
|
||||
|
||||
The **cutonfold** plugin provides [the cutonfold macro](/reference/macros/cutonfold/):
|
||||
|
@ -35,12 +35,11 @@ macro("cutonfold", {
|
|||
grainline: true
|
||||
});
|
||||
```
|
||||
|
||||
<Note>
|
||||
|
||||
###### It's safe to use a corner of your pattern part for this
|
||||
|
||||
Since this is typically used on corners, the generated cut-on-fold indicator
|
||||
Since this is typically used on corners, the generated cut-on-fold indicator
|
||||
will not go all the way to the `to` and `from` points.
|
||||
|
||||
</Note>
|
||||
|
@ -59,7 +58,7 @@ npm install @freesewing/plugin-cutonfold
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
***
|
||||
|
||||
## title: dimension
|
||||
---
|
||||
title: dimension
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-dimension)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-dimension)
|
||||
|
||||
The **dimension** plugin provides the following [macros](/plugins#macros):
|
||||
|
||||
* [hd](/reference/macros/hd/) : Adds a horizontal dimension
|
||||
* [vd](/reference/macros/vd/) : Adds a vertical dimension
|
||||
* [ld](/reference/macros/ld/) : Adds a linear dimension
|
||||
* [pd](/reference/macros/pd/) : Adds a dimension along a path
|
||||
* [rmd](/reference/macros/rmd/) : Removes a dimension
|
||||
* [rmad](/reference/macros/rmad/) : Removes all dimensions with a default prefix
|
||||
- [hd](/reference/macros/hd/) : Adds a horizontal dimension
|
||||
- [vd](/reference/macros/vd/) : Adds a vertical dimension
|
||||
- [ld](/reference/macros/ld/) : Adds a linear dimension
|
||||
- [pd](/reference/macros/pd/) : Adds a dimension along a path
|
||||
- [rmd](/reference/macros/rmd/) : Removes a dimension
|
||||
- [rmad](/reference/macros/rmad/) : Removes all dimensions with a default prefix
|
||||
|
||||
<Example part="plugin_dimension" caption="An example of the different dimensinon macros" design={false} />
|
||||
|
||||
|
@ -83,7 +83,7 @@ npm install @freesewing/plugin-dimension
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -96,7 +96,7 @@ const Pattern = new freesewing.Design(config, dimension);
|
|||
|
||||
Now you can use the following macros in your parts:
|
||||
|
||||
* [hd](/reference/macros/hd/)
|
||||
* [vd](/reference/macros/vd/)
|
||||
* [ld](/reference/macros/ld/)
|
||||
* [pd](/reference/macros/pd/)
|
||||
- [hd](/reference/macros/hd/)
|
||||
- [vd](/reference/macros/vd/)
|
||||
- [ld](/reference/macros/ld/)
|
||||
- [pd](/reference/macros/pd/)
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
***
|
||||
|
||||
---
|
||||
title: Plugins
|
||||
for: developers
|
||||
about: Complete list of all the plugins available for FreeSewing core
|
||||
---------------------------------------------------------------------
|
||||
---
|
||||
|
||||
The following FreeSewing plugins are available:
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: flip
|
||||
---
|
||||
title: flip
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-flip)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-flip)
|
||||
|
||||
The **flip** plugin provides [the flip macro](/reference/macros/flip/) which flips (mirrors) an entire part vertically around the Y-axis.
|
||||
|
@ -26,7 +26,7 @@ npm install @freesewing/plugin-flip
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: grainline
|
||||
---
|
||||
title: grainline
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-grainline)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-grainline)
|
||||
|
||||
The **grainline** plugin provides [the grainline macro](/reference/macros/grainline/):
|
||||
|
@ -40,7 +40,7 @@ npm install @freesewing/plugin-grainline
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
***
|
||||
|
||||
## title: i18n
|
||||
---
|
||||
title: i18n
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-i18n)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-i18n)
|
||||
|
||||
The **i18n** plugin provides translation for your pattern:
|
||||
|
||||
\<Example part="path\_attr" caption="An example in English" design={false} options={{locale: 'en'}} />
|
||||
\<Example part="path\_attr" caption="An example in French" design={false} options={{locale: 'fr'}} />
|
||||
<Example part="path_attr" caption="An example in English" design={false} options={{locale: 'en'}} />
|
||||
<Example part="path_attr" caption="An example in French" design={false} options={{locale: 'fr'}} />
|
||||
|
||||
It uses the [`insertText`](/plugins#inserttext) hook to do so.
|
||||
|
||||
|
@ -32,7 +32,7 @@ npm install @freesewing/plugin-i18n
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -60,3 +60,5 @@ It should be structured as such:
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: logo
|
||||
---
|
||||
title: logo
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-logo)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-logo)
|
||||
|
||||
The **logo** plugin provides [the logo snippet](/reference/snippets/):
|
||||
|
@ -34,7 +34,7 @@ npm install @freesewing/plugin-logo
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -44,3 +44,4 @@ import config from "../config";
|
|||
|
||||
const Pattern = new freesewing.Design(config, logo);
|
||||
```
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: mirror
|
||||
---
|
||||
title: mirror
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-mirror)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-mirror)
|
||||
|
||||
The [@freesewing/plugin-mirror](/reference/packages/plugin-mirror) packages provides a plugin to help mirror points and/or paths around a given mirror line.
|
||||
|
@ -20,7 +20,7 @@ npm install @freesewing/plugin-mirror
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -32,3 +32,5 @@ const Pattern = new freesewing.Design(config, mirror);
|
|||
```
|
||||
|
||||
Now you can use [the mirror macro](/reference/macros/mirror) in your parts.
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: round
|
||||
---
|
||||
title: round
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-round)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-round)
|
||||
|
||||
The **round** plugin provides [the round macro](/reference/macros/round/):
|
||||
|
@ -60,7 +60,7 @@ npm install @freesewing/plugin-round
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -78,3 +78,4 @@ Now you can use [the round macro](/reference/macros/round/): in your parts.
|
|||
The round macro is intended for rounding 90° angles
|
||||
|
||||
</Warning>
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: scalebox
|
||||
---
|
||||
title: scalebox
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-scalebox)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-scalebox)
|
||||
|
||||
The **scalebox** plugin provides [the scalebox macro](/reference/macros/scalebox/):
|
||||
|
@ -46,7 +46,7 @@ npm install @freesewing/plugin-scalebox
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: sprinkle
|
||||
---
|
||||
title: sprinkle
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-sprinkle)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-sprinkle)
|
||||
|
||||
The **sprinkle** plugin provides [the sprinkle macro](/reference/macros/sprinkle/):
|
||||
|
@ -47,7 +47,7 @@ npm install @freesewing/plugin-sprinkle
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: svgattr
|
||||
---
|
||||
title: svgattr
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-svgattr)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-svgattr)
|
||||
|
||||
The **svgattr** plugin takes an object of key-value pairs and adds them to the SVG tag on render.
|
||||
|
@ -22,7 +22,7 @@ npm install @freesewing/plugin-svgattr
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -35,3 +35,5 @@ const myAaron = new Aaron()
|
|||
```
|
||||
|
||||
You should pass a second argument which holds key-value pairs of the attributes you want to add to the SVG tag.
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: theme
|
||||
---
|
||||
title: theme
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-theme)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-theme)
|
||||
|
||||
The **theme** plugin provides CSS styling for SVG output:
|
||||
|
@ -31,7 +31,7 @@ npm install @freesewing/plugin-theme
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -41,3 +41,4 @@ import theme from "@freesewing/plugin-theme";
|
|||
const myAaron = new Aaron()
|
||||
.use(theme);
|
||||
```
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
***
|
||||
|
||||
## title: title
|
||||
---
|
||||
title: title
|
||||
---
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-title)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-title)
|
||||
|
||||
The **title** plugin provides [the title macro](/reference/macros/title/):
|
||||
|
@ -40,7 +40,7 @@ npm install @freesewing/plugin-title
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -52,3 +52,4 @@ const Pattern = new freesewing.Design(config, title);
|
|||
```
|
||||
|
||||
Now you can use [the title macro](/reference/macros/title/) in your parts.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue