1
0
Fork 0

chore: Linting for markdown and js

This commit is contained in:
joostdecock 2021-10-17 17:34:55 +02:00
parent eca8199ed8
commit 1c92e0f655
6677 changed files with 24391 additions and 25987 deletions

View file

@ -1,7 +1,8 @@
---
***
title: Structure of a part
order: 150
---
----------
Let's get rid of the example box first.
Open `src/bib.js` and make sure it looks like this:
@ -65,25 +66,25 @@ and you use JavaScript's *object destructuring* to only get what you need.
The example above makes the following variables available:
- `Point`: The Point constructor
- `points`: A reference to the part's points
- `Path`: The Path constructor
- `paths`: A reference to the part's paths
* `Point`: The Point constructor
* `points`: A reference to the part's points
* `Path`: The Path constructor
* `paths`: A reference to the part's paths
These will make it possible for you to draw points and paths easily.
The following three variables are also needed to create a full-fledged FreeSewing pattern; their function and usage will
be covered in detail [later on in this tutorial](/tutorials/pattern-design/completing-your-pattern/):
- `complete`: create a *complete* pattern (or not)
- `sa`: include *seam allowance* (or not)
- `paperless`: allow the pattern to be *paperless*
* `complete`: create a *complete* pattern (or not)
* `sa`: include *seam allowance* (or not)
* `paperless`: allow the pattern to be *paperless*
For now, we only need these so that the pattern skeleton compiles properly.
<Note>
This will all become clear, but if you're curious, the API docs have all the details
This will all become clear, but if you're curious, the API docs have all the details
on [the Part.shorthand() method](/reference/api/part/#shorthand).
</Note>