
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
997 B
997 B
title | for | about |
---|---|---|
Add several of the same snippets with the sprinkle macro | developers | Adding multiple snippets doesn't need to be a chore with this handy macro |
See this example in our source code
Adding multiple snippets at the same time results in a lot of repetitive code.
Better to use the sprinkle
macro instead:
macro('sprinkle', {
snippet: 'notch',
on: [
'neck',
'shoulder',
'armholePitch',
'chestPocketBottomLeft',
'chestPocketBottomRight',
'lapelBreakPoint',
'notchMax',
'notch',
'innerPocketLeft',
'innerPocketRight',
'frontPocketTopLeft',
'frontPocketBottomLeft',
'armholeHollow',
'waist'
]
})
Refer to the sprinkle macro documentation for details on how to use this macro