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,15 +1,14 @@
***
---
title: Adding options
order: 140
----------
---
You know what your bib should look like, and you have the *head* measurement
to work with. But there's still a number of choices you have to make:
* How large should the neck opening be?
* How wide should the bib be?
* How long should the bib be?
- How large should the neck opening be?
- How wide should the bib be?
- How long should the bib be?
You can make all of these choices for the user and set them in stone, so to speak.
@ -18,7 +17,7 @@ flexible and let the user decide. All you have to do is add options to your patt
## Add the neckRatio option
The first option we're going to add controls the ratio between the neck opening
The first option we're going to add controls the ratio between the neck opening
and the head circumference. Let's call it `neckRatio`.
Open the config file at `config/index.js` and add this to the options:
@ -34,10 +33,10 @@ Open the config file at `config/index.js` and add this to the options:
Can you guess what it means?
* We've added a option of type percentage
* Its minimum value is 70%
* Its maximum value is 90%
* Its default value is 80%
- We've added a option of type percentage
- Its minimum value is 70%
- Its maximum value is 90%
- Its default value is 80%
<Note>
@ -56,9 +55,9 @@ options: {
}
```
* You've added `widthRatio` and `lengthRatio` options
* You've given all options sensible defaults
* You've given all options sensible maximum and minimum boundaries
- You've added `widthRatio` and `lengthRatio` options
- You've given all options sensible defaults
- You've given all options sensible maximum and minimum boundaries
<Note>
@ -77,7 +76,7 @@ optionGroups: {
<Note>
The `optionGroups` entry does not do anything for your pattern as such.
The `optionGroups` entry does not do anything for your pattern as such.
Instead it signals to the frontend that this is how options should be grouped together and presented to the user.
</Note>