Embedding
What is an Embed?
An embed lets you include a running sandbox in your documentation, blog post, or website.
Embedding Sandboxes
Sandbox embeds enhance the learning and reading experience for anyone by providing a practical, interactive, and hassle-free way to explore and experiment with code examples. In addition, embeds allow users to interact with code examples directly from an article or blog post, from where users can directly run, modify, and experiment with the code in a live environment. Also, embeds can be a great solution if you want to show examples of applications.
Embeds for Sandboxes are currently in beta.
Generate an Embed URL
You can generate a URL to embed by clicking the Share
button inside the editor of a Sandbox and then clicking on 'Copy embed code'.
This will give you HTML code with an iFrame that you can paste into your content.