Skip to content

Commit 08a6556

Browse files
committed
Rebase share code docs
1 parent 3294826 commit 08a6556

15 files changed

+8
-74
lines changed
Loading
Loading

content/arduino-cloud/04.cloud-editor/embedding-create-iframes/embedding-create-iframes.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ First of all, we need to navigate to the [Cloud Editor](https://app.arduino.cc/s
1414

1515
Then, we need to have a code. In this tutorial, we are just going to use the good old **blink** example. When we have our sketch ready, click on the **share** button next to the serial monitor tool. This will open up a new window, that will have two fields: **link** and **embed**. Copy the embed field.
1616

17-
![embed field](assets/iframe-highlight.png)
17+
![embed field](./assets/Embed_1.png)
1818

1919
It should look something like this:
2020

@@ -131,11 +131,15 @@ We can also choose to automatically re-size our iframes. This is simply done by
131131

132132
And then using the class `arduino-sketch-iframe` in your `HTML element`.
133133

134-
## Summary
134+
## Share your Code
135135

136-
There are several cool ways of working with iframes from the Cloud Editor, and it is a really easy process that requires very little coding.
136+
If you want to share you're code with others can you do so by following the same steps as above, but instead of clicking on "Embed in HTML code:" you click on "Link to share:"
137137

138-
The Cloud Editor helps you keep track on all of your sketches, and with the iframes, including your projects on other pages has never been easier.
138+
![Share Code](./assets/Share_1.png)
139+
140+
This link will direct others to a preview of our code where they can copy it or directly add it to their sketchbook.
141+
142+
***Note: If you want to learn how to keep sensitive data in your code safe, read [Store Sensitive Data in Sketches](/arduino-cloud/cloud-editor/share-your-sketches/).***
139143

140144
### More tutorials
141145

content/arduino-cloud/04.cloud-editor/share-your-sketches/share-your-sketches.md

-70
This file was deleted.

0 commit comments

Comments
 (0)