1
0
Fork 0

fix(markdown): The offset is the d prop in pd macro

This commit is contained in:
Joost De Cock 2022-01-18 08:31:04 +01:00
parent 66eb39a3f1
commit b618bac0a4

View file

@ -17,11 +17,11 @@ macro('pd', {
| Property | Default | Type | Description | | Property | Default | Type | Description |
|----------------:|---------|---------------------|-------------| |----------------:|---------|---------------------|-------------|
| `path` | | [Path](/reference/api/path) | The path to draw the dimension along | | `path` | | [Path](/reference/api/path) | The path to draw the dimension along |
| `offset` | 0 | Number | The offset at which to draw the dimension | | `d` | 0 | Number | The offset at which to draw the dimension |
| `text` | Path length | Number | The text to go on the dimension if not the length of the path | | `text` | Path length | Number | The text to go on the dimension if not the length of the path |
| `id` | auto-assigned | String | A custom ID under wich paths and points will be created | | `id` | auto-assigned | String | A custom ID under wich paths and points will be created |
| `noStartMarker` | `false` | Boolean | Whether to not draw a start marker | | `noStartMarker` | `false` | Boolean | Whether to not draw a start marker |
| `noEndMarker` | `false` | Boolean | Whether to not draw an end marker | | `noEndMarker` | `false` | Boolean | Whether to not draw an end marker |
<Note> <Note>