1
0
Fork 0

feat: Flat import of markdown repo

This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
This commit is contained in:
Joost De Cock 2021-08-25 16:09:31 +02:00
parent 1671a896b5
commit b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions

View file

@ -0,0 +1,24 @@
---
title: round
---
Rounds a corner. Note that this is only intended for 90 degree corners.
| Property | Default | Type | Description |
| -------- | ------- | ----------------------------- | -------------------------------------------------------------- |
| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round |
| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round |
| `via` | | [Point](/reference/api/point) | The corner to round |
| `radius` | Maximum | Number | The radius in mm in not the maximum |
| `prefix` | | String | A prefix to give to the points and paths created by this macro |
| `render` | `false` | Boolean | Whether to render the path created by this macro |
| `class` | | String | Class(es) to assign to the path created by this macro |
<Note>
The `round` macro is provided by the [round plugin](/reference/plugins/round).
</Note>

View file

@ -0,0 +1,31 @@
---
title: round
---
The `round` macro rounds a corner. It is provided by the [round plugin](/reference/plugins/round/).
Note that this is only intended for 90 degree corners.
<Example part="plugin_round" caption="Example of corners rounded with the round plugin" />
```js
macro('round', {
from: points.bottomRight,
to: points.topLeft,
via: points.topRight,
radius: 20,
prefix: 'tr',
render: true
})
```
| Property | Default | Type | Description |
|------------:|---------|---------------------|-------------|
| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round |
| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round |
| `via` | | [Point](/reference/api/point) | The corner to round |
| `radius` | Maximum | Number | The radius in mm in not the maximum |
| `prefix` | | String | A prefix to give to the points and paths created by this macro |
| `render` | `false` | Boolean | Whether to render the path created by this macro |
| `class` | | String | Class(es) to assign to the path created by this macro |

View file

@ -0,0 +1,24 @@
---
title: round
---
Rounds a corner. Note that this is only intended for 90 degree corners.
| Property | Default | Type | Description |
| -------- | ------- | ----------------------------- | -------------------------------------------------------------- |
| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round |
| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round |
| `via` | | [Point](/reference/api/point) | The corner to round |
| `radius` | Maximum | Number | The radius in mm in not the maximum |
| `prefix` | | String | A prefix to give to the points and paths created by this macro |
| `render` | `false` | Boolean | Whether to render the path created by this macro |
| `class` | | String | Class(es) to assign to the path created by this macro |
<Note>
The `round` macro is provided by the [round plugin](/reference/plugins/round).
</Note>

View file

@ -0,0 +1,24 @@
---
title: round
---
Arrondit un coin. Notez que cela ne s'adresse qu'aux coins à 90 degrés.
| Propriété | Défaut | Type | Description |
| --------- | ------- | ----------------------------- | ------------------------------------------------------------------- |
| `from` | | [Point](/reference/api/point) | Le point de départ de l'arrondi |
| `to` | | [Point](/reference/api/point) | Le point final de l'arrondi |
| `via` | | [Point](/reference/api/point) | Le coin à arrondir |
| `radius` | Maximum | Nombre | Le rayon en mm si c'est pas le maximum |
| `prefix` | | Chaîne de caractères | Un préfixe à donner aux points et aux chemins créés par cette macro |
| `render` | `false` | Booléen | Afficher le chemin créé par cette macro |
| `class` | | Chaîne de caractères | Classe(s) à assigner au chemin créé par cette macro |
<Note>
The `round` macro is provided by the [round plugin](/reference/plugins/round).
</Note>

View file

@ -0,0 +1,24 @@
---
title: round
---
Rounds a corner. Note that this is only intended for 90 degree corners.
| Property | Default | Type | Description |
| -------- | ------- | ----------------------------- | -------------------------------------------------------------- |
| `from` | | [Point](/reference/api/point) | The startpoint towards the corner to round |
| `to` | | [Point](/reference/api/point) | The endpoint away from the corner to round |
| `via` | | [Point](/reference/api/point) | The corner to round |
| `radius` | Maximum | Number | The radius in mm in not the maximum |
| `prefix` | | String | A prefix to give to the points and paths created by this macro |
| `render` | `false` | Boolean | Whether to render the path created by this macro |
| `class` | | String | Class(es) to assign to the path created by this macro |
<Note>
The `round` macro is provided by the [round plugin](/reference/plugins/round).
</Note>