chore(markdown): Cleanup of some pages
This commit is contained in:
parent
5177e42dd2
commit
6030252518
14 changed files with 24 additions and 128 deletions
|
@ -1,20 +1,9 @@
|
|||
---
|
||||
title: Add several of the same snippets with the sprinkle macro
|
||||
for: developers
|
||||
about: Adding multiple snippets doesn't need to be a chore with this handy macro
|
||||
---
|
||||
|
||||
<Note>
|
||||
|
||||
##### See this example in our source code
|
||||
|
||||
- [designs/jaeger/src/front.js](https://github.com/freesewing/freesewing/blob/3ca5d0edfe54c7ac20aaf3af2f3544aee72f9b99/designs/jaeger/src/front.js#L381)
|
||||
|
||||
</Note>
|
||||
|
||||
Adding multiple snippets at the same time results in a lot of repetitive code.
|
||||
|
||||
Better to use the `sprinkle` macro instead:
|
||||
It is better to use the `sprinkle` macro instead:
|
||||
|
||||
```js
|
||||
macro('sprinkle', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue