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: Design
---
title: Design
order: 10
---------
---
The `Design` object in FreeSewing's core library serves a single purpose:
To instantiate new pattern designs.
@ -17,13 +16,13 @@ function freesewing.Design(
)
```
This constructor creates a new pattern design.
This constructor creates a new pattern design.
It takes the following arguments:
* `config` : The pattern configuration
* `plugins` : Either a [plugin object](/guides/plugins/), or an array of plugin objects
* `conditionalPlugins` : Either a [conditional plugin object](/guides/plugins/conditionally-loading-build-time-plugins/), or an array
of conditional plugin objects to (conditionally) load in your pattern
- `config` : The pattern configuration
- `plugins` : Either a [plugin object](/guides/plugins/), or an array of plugin objects
- `conditionalPlugins` : Either a [conditional plugin object](/guides/plugins/conditionally-loading-build-time-plugins/), or an array
of conditional plugin objects to (conditionally) load in your pattern
```js
import freesewing from "@freesewing/core"
@ -36,9 +35,9 @@ const Sorcha = new freesewing.Design(config, plugins)
<Tip>
This method is a *super-constructor*. It will return a constructor
This method is a *super-constructor*. It will return a constructor
method that will become the default export of your design and
should be called to instantiate your pattern.
should be called to instantiate your pattern.
See [creating a new pattern design](/howtos/code/create-new-design) for a complete example.