fix(markdown): Move caption to children
This commit is contained in:
parent
76d13e3fa3
commit
7bebd8cf07
96 changed files with 304 additions and 213 deletions
|
@ -5,7 +5,9 @@ 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/).
|
||||
|
||||
<Example part="plugin_bartack" caption="Example of the bartack macro" />
|
||||
<Example part="plugin_bartack">
|
||||
Example of the bartack macro
|
||||
</Example>
|
||||
|
||||
```js
|
||||
points.a = new Point(15, 15)
|
||||
|
|
|
@ -6,7 +6,9 @@ The `bartackAlong` macro allows you to add a *bartack* marker to your sewing pat
|
|||
More specifically, a bartack along a path.
|
||||
It is provided by the [bartack plugin](/reference/plugins/bartack/).
|
||||
|
||||
<Example part="plugin_bartackalong" caption="Example of the bartackAlong macro" />
|
||||
<Example part="plugin_bartackalong">
|
||||
Example of the bartackAlong macro
|
||||
</Example>
|
||||
|
||||
```js
|
||||
points.a = new Point(15, 15)
|
||||
|
|
|
@ -6,7 +6,9 @@ The `bartackFractionAlong` macro allows you to add a *bartack* marker to your se
|
|||
More specifically, a bartack along a fraction of a path.
|
||||
It is provided by the [bartack plugin](/reference/plugins/bartack/).
|
||||
|
||||
<Example part="plugin_bartackfractionalong" caption="Example of the bartackFractionAlong macro" />
|
||||
<Example part="plugin_bartackfractionalong">
|
||||
Example of the bartackFractionAlong macro
|
||||
</Example>
|
||||
|
||||
```js
|
||||
points.a = new Point(15, 15)
|
||||
|
|
|
@ -5,7 +5,9 @@ title: cutonfold
|
|||
The `cutonfold` macro adds a *cut on fold* indicator to your pattern.
|
||||
It is provided by the [cutonfold plugin](/reference/plugins/cutonfold).
|
||||
|
||||
<Example part="plugin_cutonfold" caption="Example of the cut on fold indicator added by this macro" />
|
||||
<Example part="plugin_cutonfold">
|
||||
Example of the cut on fold indicator added by this macro
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('cutonfold', {
|
||||
|
|
|
@ -5,7 +5,9 @@ title: grainline
|
|||
The `grainline` macro adds a *grainline* indicator to your pattern.
|
||||
It is provided by the [grainline plugin](/reference/plugins/grainline/).
|
||||
|
||||
<Example part="plugin_grainline" caption="Example of the grainline indicator added by this macro" />
|
||||
<Example part="plugin_grainline">
|
||||
Example of the grainline indicator added by this macro
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro("grainline", {
|
||||
|
|
|
@ -5,10 +5,9 @@ title: hd
|
|||
The `hd` macro adds a *horizontal dimension* to your pattern.
|
||||
It is provided by the [dimension plugin](/reference/plugins/dimension/).
|
||||
|
||||
<Example
|
||||
part="point_dx"
|
||||
caption="An example of a horizontal dimension"
|
||||
/>
|
||||
<Example part="point_dx">
|
||||
An example of a horizontal dimension
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('hd', {
|
||||
|
|
|
@ -5,10 +5,9 @@ title: ld
|
|||
The `ld` macro adds a *linear dimension* to your pattern.
|
||||
It is provided by the [dimension plugin](/reference/plugins/dimension/).
|
||||
|
||||
<Example
|
||||
part="point_dist"
|
||||
caption="An example of a linear dimension"
|
||||
/>
|
||||
<Example part="point_dist">
|
||||
An example of a linear dimension
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('ld', {
|
||||
|
|
|
@ -8,7 +8,9 @@ users to verify their pattern is printed to scale.
|
|||
The `miniscale` macro is provided by the [scalebox plugin](/reference/plugins/scalebox).
|
||||
It is the mini version of [the scalebox macro](/reference/macros/scalebox/).
|
||||
|
||||
<Example part="plugin_scalebox" caption="Example of a scalebox (left) and miniscale (right)" />
|
||||
<Example part="plugin_scalebox">
|
||||
Example of a scalebox (left) and miniscale (right)
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('miniscale', {
|
||||
|
|
|
@ -5,7 +5,9 @@ title: mirror
|
|||
The `mirror` macro allows you to mirror points and/or paths around a mirror line.
|
||||
It is provided by the [mirror plugin](/reference/plugins/mirror/).
|
||||
|
||||
<Example part="plugin_mirror" caption="Example of the mirror plugin" />
|
||||
<Example part="plugin_mirror">
|
||||
Example of the mirror plugin
|
||||
</Example>
|
||||
|
||||
```js
|
||||
points.a = new Point(5,5)
|
||||
|
|
|
@ -5,7 +5,9 @@ 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/).
|
||||
|
||||
<Example part="path_length" caption="Example of a multiple path dimensions" />
|
||||
<Example part="path_length"><
|
||||
Example of a multiple path dimensions
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('pd', {
|
||||
|
|
|
@ -6,7 +6,9 @@ The `round` macro rounds a corner. It is provided by the [round plugin](/referen
|
|||
|
||||
Note that this is only intended for 90 degree corners.
|
||||
|
||||
<Example part="plugin_round" caption="Example of corners rounded with the round plugin" />
|
||||
<Example part="plugin_round">
|
||||
Example of corners rounded with the round plugin
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('round', {
|
||||
|
|
|
@ -7,7 +7,9 @@ users to verify their pattern is printed to scale.
|
|||
|
||||
The `scalebox` macro is provided by the [scalebox plugin](/reference/plugins/scalebox).
|
||||
|
||||
<Example part="plugin_scalebox" caption="Example of the scalebox added by this macro" />
|
||||
<Example part="plugin_scalebox">
|
||||
Example of the scalebox added by this macro
|
||||
</Example>
|
||||
|
||||
```js
|
||||
macro('scalebox', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue