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,8 +1,7 @@
***
---
title: Making your pattern paperless
order: 270
-----------
---
Users can request paperless patterns by setting the `paperless` setting to `true`.
@ -27,7 +26,7 @@ let {
```
The idea behind *paperless patterns* is that users don't need to print your
pattern in order to use it.
pattern in order to use it.
Instead, we include dimensions on the pattern that allows them to transfer
the pattern directly onto fabric, or onto an intermediate medium such as tracing paper.
@ -37,10 +36,10 @@ markings, depending on the units requested by the user.
While the grid gets added automatically, the dimensions you have to add yourself.
Thankfully, there's macros that can help you with that, specifically:
* The `hd` macro adds a horizontal dimension
* The `vd` macro adds a vertical dimension
* The `ld` macro adds a linear dimension
* The `pd` macro adds a path dimension that follows a given path
- The `hd` macro adds a horizontal dimension
- The `vd` macro adds a vertical dimension
- The `ld` macro adds a linear dimension
- The `pd` macro adds a path dimension that follows a given path
<Note> The documentation, as always, holds [all the information about the macros](/reference/macros/). </Note>
@ -84,12 +83,12 @@ if (paperless) {
There's a lot going on, but it's mostly repetition. To see what that did to your pattern, you have to enable *paperless mode* in your developing environment; you can find the option under *Pattern options* on the right. Let's look at the end result, and discuss:
\<Example pattern="tutorial" part="bib" caption="Your paperless bib" settings={{paperless: true}} />
<Example pattern="tutorial" part="bib" caption="Your paperless bib" settings={{paperless: true}} />
We used the `hd` macro to add two horizontal dimensions:
* One at the bottom for the width of our bib
* One for the width of the neck opening
- One at the bottom for the width of our bib
- One for the width of the neck opening
The `hd` macro takes a `from` and `to` point as well as a `y` value that says at what Y-value to draw the dimension.
@ -103,3 +102,4 @@ While most dimensions are horizontal or vertical, sometimes you want a straight
The `ld` macro takes a `d` argument (short for delta) that indicates how far the dimension should be offset from the line from the `from` to the `to` point, if at all.
Making your pattern paperless is the icing on the cake. Time to wrap up, go over what we've learned, and give some pointers on where to go from here.