chore: Linting for markdown and js
This commit is contained in:
parent
eca8199ed8
commit
1c92e0f655
6677 changed files with 24391 additions and 25987 deletions
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
title: svgattr
|
||||
---
|
||||
***
|
||||
|
||||
## title: svgattr
|
||||
|
||||
[](/plugins)
|
||||
|
||||
|
||||
[](https://www.npmjs.com/package/@freesewing/plugin-svgattr)
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256)
|
||||
|
||||
|
||||
[](https://deepscan.io/dashboard#view=project\&tid=2114\&pid=2993\&bid=23256)
|
||||
|
||||
[](https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-svgattr)
|
||||
|
||||
The **svgattr** plugin takes an object of key-value pairs and adds them to the SVG tag on render.
|
||||
|
@ -22,7 +22,7 @@ npm install @freesewing/plugin-svgattr
|
|||
|
||||
## Usage
|
||||
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
Like all [build-time plugins](/guides/plugins/#build-time-plugins), you load them
|
||||
by passing them to the [`freesewing.Design`](/reference/api#design) constructor:
|
||||
|
||||
```js
|
||||
|
@ -35,5 +35,3 @@ const myAaron = new Aaron()
|
|||
```
|
||||
|
||||
You should pass a second argument which holds key-value pairs of the attributes you want to add to the SVG tag.
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue