diff --git a/markdown/dev/reference/macros/banner/en.md b/markdown/dev/reference/macros/banner/en.md index aaa374529ad..f360f3c877e 100644 --- a/markdown/dev/reference/macros/banner/en.md +++ b/markdown/dev/reference/macros/banner/en.md @@ -3,7 +3,7 @@ title: banner --- The `banner` macro allows you to add repeating text along a path. -It is provided by the [banner plugin](/reference/plugins/banner). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/bartack/en.md b/markdown/dev/reference/macros/bartack/en.md index 98aeb571a5c..6e94669c72b 100644 --- a/markdown/dev/reference/macros/bartack/en.md +++ b/markdown/dev/reference/macros/bartack/en.md @@ -3,7 +3,8 @@ title: bartack --- The `bartack` macro allows you to add a _bartack_ marker to your sewing -pattern. It is provided by the [bartack plugin](/reference/plugins/bartack/). +pattern. +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/bartackalong/en.md b/markdown/dev/reference/macros/bartackalong/en.md index e09b12c3489..5c53c8f43d9 100644 --- a/markdown/dev/reference/macros/bartackalong/en.md +++ b/markdown/dev/reference/macros/bartackalong/en.md @@ -4,7 +4,7 @@ title: bartackAlong The `bartackAlong` macro allows you to add a _bartack_ marker to your sewing pattern. More specifically, a bartack along a path. -It is provided by the [bartack plugin](/reference/plugins/bartack/). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/bartackfractionalong/en.md b/markdown/dev/reference/macros/bartackfractionalong/en.md index 00dd1704b00..17e8ac90e67 100644 --- a/markdown/dev/reference/macros/bartackfractionalong/en.md +++ b/markdown/dev/reference/macros/bartackfractionalong/en.md @@ -3,8 +3,8 @@ title: bartackFractionAlong --- The `bartackFractionAlong` macro allows you to add a _bartack_ marker to your -sewing pattern. More specifically, a bartack along a fraction of a path. It -is provided by the [bartack plugin](/reference/plugins/bartack/). +sewing pattern. More specifically, a bartack along a fraction of a path. +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/cutonfold/en.md b/markdown/dev/reference/macros/cutonfold/en.md index 8e34b584b1f..ba27e556ff3 100644 --- a/markdown/dev/reference/macros/cutonfold/en.md +++ b/markdown/dev/reference/macros/cutonfold/en.md @@ -3,7 +3,7 @@ title: cutonfold --- The `cutonfold` macro adds a _cut on fold_ indicator to your pattern. -It is provided by the [cutonfold plugin](/reference/plugins/cutonfold). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/grainline/en.md b/markdown/dev/reference/macros/grainline/en.md index 730c91e916d..4aa2653075e 100644 --- a/markdown/dev/reference/macros/grainline/en.md +++ b/markdown/dev/reference/macros/grainline/en.md @@ -3,7 +3,7 @@ title: grainline --- The `grainline` macro adds a _grainline_ indicator to your pattern. -It is provided by the [grainline plugin](/reference/plugins/grainline/). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/hd/en.md b/markdown/dev/reference/macros/hd/en.md index aa62b099786..729a8e908a2 100644 --- a/markdown/dev/reference/macros/hd/en.md +++ b/markdown/dev/reference/macros/hd/en.md @@ -3,7 +3,7 @@ title: hd --- The `hd` macro adds a _horizontal dimension_ to your pattern. -It is provided by the [dimension plugin](/reference/plugins/dimension/). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/ld/en.md b/markdown/dev/reference/macros/ld/en.md index 3fa4919a246..4963832a2e9 100644 --- a/markdown/dev/reference/macros/ld/en.md +++ b/markdown/dev/reference/macros/ld/en.md @@ -3,7 +3,7 @@ title: ld --- The `ld` macro adds a _linear dimension_ to your pattern. -It is provided by the [dimension plugin](/reference/plugins/dimension/). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/miniscale/en.md b/markdown/dev/reference/macros/miniscale/en.md index b3be680d972..b84e19744f6 100644 --- a/markdown/dev/reference/macros/miniscale/en.md +++ b/markdown/dev/reference/macros/miniscale/en.md @@ -7,7 +7,8 @@ users to verify their pattern is printed to scale. The white inside of the box provides a metric scale, and the black outside of the box provides an imperial scale. -The `miniscale` macro is provided by the [scalebox plugin](/reference/plugins/scalebox). +The `miniscale` macro is provided by the [annotations +plugin](/reference/plugins/annotations). It is the mini version of [the scalebox macro](/reference/macros/scalebox/). ## Signature diff --git a/markdown/dev/reference/macros/mirror/en.md b/markdown/dev/reference/macros/mirror/en.md index 481bcced823..1c3cfb483dc 100644 --- a/markdown/dev/reference/macros/mirror/en.md +++ b/markdown/dev/reference/macros/mirror/en.md @@ -31,15 +31,18 @@ macro('mirror', { paths.example = new Path() .move(points.from) .curve(points.cp1, points.cp2, points.to) + + points.m1 = new Point(20,0) + points.m2 = new Point(20,20) + paths.mirror = new Path() + .move(points.m1) + .line(points.m2) + .addClass('stroke-xm dashed stroke-lining') macro('mirror', { clone: true, - mirror: [ - new Point(20,10), - new Point(20,20), - ], - paths: Object.values(paths), - points: Object.values(points), + mirror: [ points.m1, points.m2 ], + paths: Object.keys(paths), }) return part diff --git a/markdown/dev/reference/macros/pd/en.md b/markdown/dev/reference/macros/pd/en.md index 5b47aef89f6..e2c31492a15 100644 --- a/markdown/dev/reference/macros/pd/en.md +++ b/markdown/dev/reference/macros/pd/en.md @@ -3,8 +3,8 @@ title: pd --- The `pd` macro adds a _path dimension_ to your pattern, indicating the length -of a path. It is provided by the [dimension -plugin](/reference/plugins/dimension/). +of a path. +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/rmad/en.md b/markdown/dev/reference/macros/rmad/en.md index 4dbff89ac09..5682686fcd7 100644 --- a/markdown/dev/reference/macros/rmad/en.md +++ b/markdown/dev/reference/macros/rmad/en.md @@ -3,8 +3,8 @@ title: rmad --- The `rmad` macro removes all dimensions with the exception of those that were -created with a custom ID. It is provided by the [dimension -plugin](/reference/plugins/dimension/). +created with a custom ID. +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/rmd/en.md b/markdown/dev/reference/macros/rmd/en.md index 019eba4714d..8e2c14a81c7 100644 --- a/markdown/dev/reference/macros/rmd/en.md +++ b/markdown/dev/reference/macros/rmd/en.md @@ -3,7 +3,7 @@ title: rmd --- The `rmd` macro removes a dimension. -It is provided by the [dimension plugin](/reference/plugins/dimension/). +It is provided by the [annotations plugin](/reference/plugins/annotations). To be able to use this plugin, you need to give your dimension an id: diff --git a/markdown/dev/reference/macros/scalebox/en.md b/markdown/dev/reference/macros/scalebox/en.md index 5bd9125558f..51a7975776c 100644 --- a/markdown/dev/reference/macros/scalebox/en.md +++ b/markdown/dev/reference/macros/scalebox/en.md @@ -7,8 +7,8 @@ to verify their pattern is printed to scale. The white inside of the box provides a metric scale, and the black outside of the box provides an imperial scale. -The `scalebox` macro is provided by the [scalebox -plugin](/reference/plugins/scalebox). +The `scalebox` macro is is provided by the [annotations +plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/title/en.md b/markdown/dev/reference/macros/title/en.md index 8f810e6a1c0..6c1049221b2 100644 --- a/markdown/dev/reference/macros/title/en.md +++ b/markdown/dev/reference/macros/title/en.md @@ -3,7 +3,7 @@ title: title --- The `title` macro adds a title to a pattern part. -It is provided by the [title plugin](/reference/plugins/title). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/macros/vd/en.md b/markdown/dev/reference/macros/vd/en.md index 0fb43c9c383..3de16b78ed0 100644 --- a/markdown/dev/reference/macros/vd/en.md +++ b/markdown/dev/reference/macros/vd/en.md @@ -3,7 +3,7 @@ title: vd --- The `vd` macro adds a _vertical dimension_ to your pattern. -It is provided by the [dimension plugin](/reference/plugins/dimension/). +It is provided by the [annotations plugin](/reference/plugins/annotations). ## Signature diff --git a/markdown/dev/reference/snippets/bnotch/en.md b/markdown/dev/reference/snippets/bnotch/en.md index 6e512dc71b2..2f2c70f2804 100644 --- a/markdown/dev/reference/snippets/bnotch/en.md +++ b/markdown/dev/reference/snippets/bnotch/en.md @@ -5,7 +5,7 @@ title: bnotch The `bnotch` snippet is intended for notches at the back, or when you need an alternative to the default `notch`. -It is provided by [plugin-notches](/reference/plugins/notches/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/button/en.md b/markdown/dev/reference/snippets/button/en.md index 05d4c83e186..954b94b2cc8 100644 --- a/markdown/dev/reference/snippets/button/en.md +++ b/markdown/dev/reference/snippets/button/en.md @@ -4,7 +4,7 @@ title: button The `button` snippet is used to mark button placement. -It is provided by [plugin-buttons](/reference/plugins/buttons/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/buttonhole-end/en.md b/markdown/dev/reference/snippets/buttonhole-end/en.md index 6e0be75a478..543c6387b0f 100644 --- a/markdown/dev/reference/snippets/buttonhole-end/en.md +++ b/markdown/dev/reference/snippets/buttonhole-end/en.md @@ -6,7 +6,7 @@ The `buttonhole-end` snippet is used to mark buttonhole placement. This particular snippet places the buttonhole's end on its anchor point. -It is provided by [plugin-buttons](/reference/plugins/buttons/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/buttonhole-start/en.md b/markdown/dev/reference/snippets/buttonhole-start/en.md index b46d5e3296e..5a3e703fe4d 100644 --- a/markdown/dev/reference/snippets/buttonhole-start/en.md +++ b/markdown/dev/reference/snippets/buttonhole-start/en.md @@ -6,7 +6,7 @@ The `buttonhole-start` snippet is used to mark buttonhole placement. This particular snippet places the buttonhole's start on its anchor point. -It is provided by [plugin-buttons](/reference/plugins/buttons/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/buttonhole/en.md b/markdown/dev/reference/snippets/buttonhole/en.md index a164bf43e53..11e9a50e67a 100644 --- a/markdown/dev/reference/snippets/buttonhole/en.md +++ b/markdown/dev/reference/snippets/buttonhole/en.md @@ -6,7 +6,7 @@ The `buttonhole` snippet is used to mark buttonhole placement. This particular snippet places the buttonhole centrally on its anchor point. -It is provided by [plugin-buttons](/reference/plugins/buttons/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/logo/en.md b/markdown/dev/reference/snippets/logo/en.md index 23fb96ef277..cd7965c73fc 100644 --- a/markdown/dev/reference/snippets/logo/en.md +++ b/markdown/dev/reference/snippets/logo/en.md @@ -4,7 +4,7 @@ title: logo The `logo` snippet inserts the FreeSewing logo. -It is provided by [plugin-logo](/reference/plugins/logo/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/notch/en.md b/markdown/dev/reference/snippets/notch/en.md index 5c7fcf1d57f..d33c5d01b27 100644 --- a/markdown/dev/reference/snippets/notch/en.md +++ b/markdown/dev/reference/snippets/notch/en.md @@ -4,7 +4,7 @@ title: notch The `notch` snippet is intended for notches. -It is provided by [plugin-notches](/reference/plugins/notches/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/snap-socket/en.md b/markdown/dev/reference/snippets/snap-socket/en.md index 9c965524057..f70df5f36cf 100644 --- a/markdown/dev/reference/snippets/snap-socket/en.md +++ b/markdown/dev/reference/snippets/snap-socket/en.md @@ -4,7 +4,7 @@ title: snap-socket The `snap-socket` snippet is used to mark the socket part of a snap button. -It is provided by [plugin-buttons](/reference/plugins/buttons/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example diff --git a/markdown/dev/reference/snippets/snap-stud/en.md b/markdown/dev/reference/snippets/snap-stud/en.md index f5b2a72e4c7..239a9129d5e 100644 --- a/markdown/dev/reference/snippets/snap-stud/en.md +++ b/markdown/dev/reference/snippets/snap-stud/en.md @@ -4,7 +4,7 @@ title: snap-stud The `snap-stud` snippet is used to mark the stud part of a snap button. -It is provided by [plugin-buttons](/reference/plugins/buttons/). +It is provided by [plugin-annotations](/reference/plugins/annotations/). ## Example