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,14 @@
|
|||
---
|
||||
***
|
||||
|
||||
title: Adding text
|
||||
for: developers
|
||||
about: Shows you how to add text to your pattern
|
||||
---
|
||||
------------------------------------------------
|
||||
|
||||
SVG is pretty great, but its text handling leaves much to be desired.
|
||||
|
||||
To abstract away the intricacies of adding text to an SVG document,
|
||||
FreeSewing lets you add text to patterns by adding it to the attributes
|
||||
To abstract away the intricacies of adding text to an SVG document,
|
||||
FreeSewing lets you add text to patterns by adding it to the attributes
|
||||
of points and paths.
|
||||
|
||||
All you have to do is set the `data-text` attribute to the text you want to add to the pattern:
|
||||
|
@ -19,8 +20,8 @@ points.anchor = new Point(100, 25)
|
|||
```
|
||||
|
||||
<Example
|
||||
part="point_attr"
|
||||
caption="Text inserted in a FreeSewing pattern"
|
||||
part="point_attr"
|
||||
caption="Text inserted in a FreeSewing pattern"
|
||||
/>
|
||||
|
||||
<Note>
|
||||
|
@ -49,6 +50,6 @@ paths.example = new Path()
|
|||
```
|
||||
|
||||
<Example
|
||||
part="path_attr"
|
||||
caption="Text on a path"
|
||||
part="path_attr"
|
||||
caption="Text on a path"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue