Provides code & tests for interactive runnable examples on Nexmo Developer
- Setup a Tech.io account
- Create a Playground
- Select "Custom Template"
- Select "Use Tech.io repository"
- Make a note of the repo URL
- Add your SSH key
$ git clone git@github.com:Nexmo/nexmo-developer-techio-playground.git
$ cd nexmo-developer-techio-playground
$ git remote add techio <YOUR_TECHIO_REPO_URL>
$ git push techio
- Login to the Tech.io account
- Add your SSH key
$ git clone git@github.com:Nexmo/nexmo-developer-techio-playground.git
$ cd nexmo-developer-techio-playground
$ git remote add techio git@ssh.git.tech.io:cg2250734/playground-oabzu1po.git
$ git push techio
Note: Pushing to this repo will not automatically change the examples as the embed URL changes.
Copy the embed code and extract the ID from the <iframe>
URL. The example can be included using a Nexmo Developer plugin:
For example the following <iframe>
embed code:
<iframe
width="100%" frameborder="0" scrolling="no" allowtransparency="true" style="visibility: hidden"
src="https://tech.io/playground-widget/64ad01e8cd132498ea5d285a161c4c584058/welcome/124979/Send%20an%20SMS"
></iframe>
Should be added into a Markdown file in Nexmo Developer as:
```techio
title: Send an SMS
path: /64ad01e8cd132498ea5d285a161c4c584058/welcome/124979
```
Contributions are welcome, please follow GitHub Flow
The content of this project itself is licensed under the Creative Commons Attribution 4.0 International license, and the underlying source code used to format and display that content is licensed under the MIT license.