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,9 +1,10 @@
---
***
title: Your first part
order: 120
---
----------
Much like garments themselves, patterns are made up of *parts*.
Much like garments themselves, patterns are made up of *parts*.
Most patterns will have multiple parts. A sleeve, a back part, the collar, and so on.
Our pattern is very simple, and only has one part: the bib.
@ -24,14 +25,14 @@ Update the **parts** array with `bib`, rather than `box`:
```js
parts: ["bib"],
```
<Note>
##### Don't worry about the big red error
This will (temporarily) cause en error to appear in your development environment, because the rest of the code is still expecting to find a part named `box`, but we will fix this in the next steps.
</Note>
##### Don't worry about the big red error
This will (temporarily) cause en error to appear in your development environment, because the rest of the code is still expecting to find a part named `box`, but we will fix this in the next steps.
</Note>
When that's done, rename the `src/box.js` file into `src/bib.js`.
@ -67,7 +68,7 @@ In our case, we have a part named `bib` so we're using `draftBib()` as the metho
</Tip>
Congratulations, your pattern now has a `bib` part, rather than a `box` part.
Congratulations, your pattern now has a `bib` part, rather than a `box` part.
It still looks the same though:
<Example pattern="tutorial" part="step1" caption="Our bib part, which is the renamed box part" />