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:
parent
1671a896b5
commit
b34a2ee2ed
6132 changed files with 244167 additions and 0 deletions
27
markdown/dev/reference/macros/scalebox/en.md
Normal file
27
markdown/dev/reference/macros/scalebox/en.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
title: scalebox
|
||||
---
|
||||
|
||||
The `scalebox` macro adds a *scale box* to your pattern. This box allows
|
||||
users to verify their pattern is printed to scale.
|
||||
|
||||
The `scalebox` macro is provided by the [scalebox plugin](/reference/plugins/scalebox).
|
||||
|
||||
<Example part="plugin_scalebox" caption="Example of the scalebox added by this macro" />
|
||||
|
||||
```js
|
||||
macro('scalebox', {
|
||||
at: points.anchor
|
||||
})
|
||||
```
|
||||
|
||||
| Property | Default | Type | Description |
|
||||
|-------------|---------|---------------------|-------------|
|
||||
| `at` | | [Point](/reference/api/point) | The point to anchor the *scale box* on |
|
||||
| `lead` | FreeSewing | String | The lead text above the title |
|
||||
| `title` | *pattern name + version* | String | The title text |
|
||||
| `text` | (\*) | String | The text below the title |
|
||||
| `rotate` | 0 | Number | Rotation in degrees |
|
||||
|
||||
(\*) `freesewingIsMadeByJoostDeCockAndContributors \n withTheFinancialSupportOfOurPatrons`
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue