1
0
Fork 0

feat: Flat import of markdown repo

This is a flat (without history) import of (some of) the content
from our markdown module.

We've imported this without history because the repo contains our
blog posts and showcases posts content prior to porting them to strapi.

Since this contains many images, it would balloon the size of this repo
to import the full history.

Instead, please refer to the history of the (archived) markdown repo
at: https://github.com/freesewing/markdown
This commit is contained in:
Joost De Cock 2021-08-25 16:09:31 +02:00
parent 1671a896b5
commit b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions

View file

@ -0,0 +1,10 @@
---
title: code
---
```js
code: "Joost De Cock",
```
The name of the developer.

View file

@ -0,0 +1,14 @@
---
title: department
---
```js
department: "menswear",
```
One of the following:
- menswear
- womenswear
- unisex
- accessories

View file

@ -0,0 +1,9 @@
---
title: design
---
```js
design: "Joost De Cock",
```
The name of the designer.

View file

@ -0,0 +1,9 @@
---
title: difficulty
---
```js
difficulty: 3
```
A `1` to `5` difficulty score that indicates how hard it is to make the pattern.

View file

@ -0,0 +1,14 @@
---
title: UI configuration
order: 100
---
Patterns also take these configuration options to facilitate UI integration:
<ReadMore list />
<Tip>
UI = User Interface. Like a website or mobile app
</Tip>

View file

@ -0,0 +1,20 @@
---
title: The advanced option group
---
Naming an option group `advanced` will hide it by default from the user
unless they enable *expert mode*.
```js
optionGroups: {
fit: ["chestEase", "hipsEase", "stretchFactor"],
style: ["armholeDrop", "backlineBend"],
advanced: [ "plutoniumCount" ]
}
```
<Tip>
The `advanced` option group can also have nested groups
</Tip>

View file

@ -0,0 +1,29 @@
---
title: optionGroups
---
Organises your pattern options in groups.
It expects an object where the key is the group title, and the value an array of options:
```js
optionGroups: {
fit: ["chestEase", "hipsEase", "stretchFactor"],
style: [
"armholeDrop",
"backlineBend",
"necklineBend",
"necklineDrop",
"shoulderStrapWidth",
"shoulderStrapPlacement",
"lengthBonus"
]
}
```
<Note>
Options that are not included in the `optionGroup` configuration won't be
exposed in the frontend and thus will be unavailable to the user.
</Note>

View file

@ -0,0 +1,27 @@
---
title: Nested option groups
---
You can create sub-groups within an option group:
```js
optionGroups: {
style: [
'hemStyle',
'hemCurve',
{
closure: [
'extraTopButton',
'buttons',
'buttonFreeLength'
]
},
]
}
```
<Warning>
Only create subgroups one level deep.
We do not support groups in groups in groups.
</Warning>

View file

@ -0,0 +1,9 @@
---
title: tags
---
```js
tags: ["underwear", "top", "basics"],
```
A set of tags to allow filtering of patterns on the website.

View file

@ -0,0 +1,12 @@
---
title: type
---
```js
type: "pattern",
```
One of the following:
- pattern
- block