1
0
Fork 0

Revert "chore: Linting for markdown and js"

This reverts commit 1c92e0f655.
This commit is contained in:
joostdecock 2021-10-17 18:26:00 +02:00
parent 994874fa72
commit cba1ab19c8
6627 changed files with 25791 additions and 24211 deletions

View file

@ -1,10 +1,9 @@
***
---
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.
@ -25,15 +24,15 @@ 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.
##### 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`.
Then, in the `src/index.js` file, change the import accordingly:
@ -68,7 +67,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" />