Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655
.
This commit is contained in:
parent
994874fa72
commit
cba1ab19c8
6627 changed files with 25791 additions and 24211 deletions
|
@ -1,14 +1,13 @@
|
|||
***
|
||||
|
||||
---
|
||||
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:
|
||||
|
@ -20,8 +19,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>
|
||||
|
@ -50,6 +49,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