1
0
Fork 0

chore(markdown): Linting of dev docs

This commit is contained in:
Joost De Cock 2022-02-19 08:04:25 +01:00
parent 1d8beedd44
commit 265ad404da
317 changed files with 1281 additions and 1503 deletions

View file

@ -22,8 +22,8 @@ export default function(part) {
}
```
So far, we've kept to the *// Design pattern here* area, but now we're going to work on
the area under *// Complete?*
So far, we've kept to the *// Design pattern here* area, but now we're going to work on
the area under *// Complete?*
<Note>
@ -99,8 +99,8 @@ snippets.logo = new Snippet("logo", points.logo)
<Note>
You can find all possible snippets in [our documentation](/reference/snippets/).
You can find all possible snippets in [our documentation](/reference/snippets/).
</Note>
## Seam allowance
@ -120,7 +120,7 @@ So you can simply remove that condition.
However, for future refefence, `sa` is a variable that you can get from `part.shorthand()`
just like `complete`. But instead of `true` or `false` it will hold the amount of seam allowance
in mm.
in mm.
Note that you can still do `if (sa)` because zero is *falsy*.
@ -144,12 +144,12 @@ as explained in [Adding text](/concepts/adding-text).
## Scalebox and title
Two more macros and we're done.
Two more macros and we're done.
The `title` macro adds a title to our part.
It's not that big a deal here since we only have one part in our pattern.
But patterns typically have many different parts, some of them which might look rather similar.
That's why you should number your parts and give them a name.
That's why you should number your parts and give them a name.
The `title` macro can help you with that:
@ -176,6 +176,4 @@ And with that, our pattern is now *complete*:
We used attributes to add color, dashes, text on a path and even opacity
</Example>
We're not done yet though. There's one more thing the user can ask for: a *paperless* pattern.