1
0
Fork 0

chore(markdown): Linting of dev docs

This commit is contained in:
Joost De Cock 2022-02-19 08:04:25 +01:00
parent 1d8beedd44
commit 265ad404da
317 changed files with 1281 additions and 1503 deletions

View file

@ -8,7 +8,7 @@ Attributes attributes.add(string key, string value)
Adds `value` to the attribute identified by `key`.
Adding multiple values to the same key will result in them being joined together
Adding multiple values to the same key will result in them being joined together
(with a space) when rendering.
```js
@ -28,4 +28,3 @@ paths.demo = new Path()
paths.demo = new Path()
.attr('class', 'classA classB');
```

View file

@ -17,4 +17,3 @@ paths.demo = new Path()
paths.clone = paths.demo.clone()
```

View file

@ -6,7 +6,7 @@ order: 40
Attributes is an object that holds attributes for a variety of other objects.
Attributes are attached to [`Point`](/reference/api/point), [`Path`](/reference/api/path), and [`Snippet`](/reference/api/snippet) objects,
as well as the internal [`Svg`](/reference/api/svg) object.
as well as the internal [`Svg`](/reference/api/svg) object.
All of these have an instantiated Attributes object in their `attributes` property.

View file

@ -18,4 +18,3 @@ paths.demo = new Path()
let class = paths.demo.attributes.getAsArray('class');
// class now holds: ["classA", "classB"]
```