Skip to content

Commit 65d176b

Browse files
authored
Update README.md
1 parent 16e077a commit 65d176b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Edit and collaborate on your content in Google Sheets, then sync in back to your
2020
3. Name text layers appropriately — e.g. `text layer #title`
2121
4. Run the plugin — `control + i`
2222

23+
----
24+
2325
### 1. Create your Spreadsheet
2426

2527
Create a new Google Spreadsheet (unfortunately Google Docs won't work with this.)
@@ -38,13 +40,13 @@ Do this by going `File > Publish to the web... > Publish`
3840
![Publish example](images/publish-demo.gif)
3941

4042

41-
### 3. Name your text layers
43+
### 3. Name your layers
4244

43-
Now that the spreadsheet is accessible — how do you tie specific values to text layers?
45+
Now that the spreadsheet is accessible — how do you tie specific values to your layers?
4446

4547
**It all comes down to how you name your layers**
4648

47-
In the name of a text layer, add a '#' followed by the title in the spreadsheet.
49+
In the name of a layer, add a '#' followed by the title in the spreadsheet.
4850

4951
For example: to tie the value of 'title' to a Text Layer, give it a name like `#title`
5052

@@ -54,6 +56,10 @@ Spreadsheet Data | Sketch Layer list
5456

5557
> It is not case-sensitive, and will ignore spaces — so `text #anothertitle` will still get the value for `Another Title`, you can also have other naming before the '#'. So `layer name #title` and `#title` would both work equally.
5658
59+
**🌄 Using images**
60+
61+
It is also possible to link images to shape layers. Simply tie in the image name into the name of the Shape layer, 'e.g.' `Profile pic #avatar`; then in your Google Sheet, add an image URL as the value.
62+
5763

5864
**Different Sheets**
5965

@@ -76,6 +82,8 @@ Spreadsheet Multiple values | Sketch Multiple values
7682
:---:|:---:
7783
![Spreadsheet multiple values](images/spreadsheet-multiple-values-example.png) | ![Sketch multiple values](images/sketch-multiple-values-example.png)
7884

85+
It's also possible to randomise which value is used. Instead of using a number such as `layer name #title.2` use an 'x' or 'n' — `layer name #title.n` or `layer name #title.x`.
86+
7987

8088
### 4. Run the plugin
8189

@@ -88,7 +96,7 @@ Anytime you want to re-sync the values, run the plugin again!
8896

8997
## Working with Symbols
9098

91-
**Note: Nested symbols are not yet supported**
99+
**⚠️ Note: Nested symbols are not yet supported**
92100

93101
Symbols are great for creating an element that is used multiple times, but the content slightly differs. Which makes is a great candidate for this plugin.
94102

0 commit comments

Comments
 (0)