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
19
markdown/dev/reference/macros/title/en.md
Normal file
19
markdown/dev/reference/macros/title/en.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: title
|
||||
---
|
||||
|
||||
The `title` macro adds a title to a pattern part.
|
||||
It is provided by the [title plugin](/reference/plugins/title).
|
||||
|
||||
<Example part="plugin_title" caption="Example of a title added by this macro" />
|
||||
|
||||
| Property | Default | Type | Description |
|
||||
| ----------:| :-----: | ---------------------------------------------------------- |
|
||||
| `at` | | [Point](/reference/api/point) | The point at which to insert the title |
|
||||
| `nr` | | String | The number of the pattern part |
|
||||
| `title` | | String | The name of the pattern part. If title is not set or is an empty string, this won't be rendered, and the version will go beneath the nr.|
|
||||
| `prefix` | | String | A prefix to add to the created points. This allow for more than 1 title per part, as long as you give them a different prefix.|
|
||||
| `append` | `false` | Boolean | Set this to `true` to append the `nr` to any text already set in Point `at`'s attributes, rather than overwrite it |
|
||||
| `rotation` | 0 | Number | An optional rotation in degrees |
|
||||
| `scale` | 1 | Number | An optional scaling factor |
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue