This GitBook plugins makes it easy to embed tonic notebook in a GitBook.
Configure the plugin in your book.json:
{
"plugins": ["tonic"]
}
Include a notebook using the tonic block:
Here is notebook:
{% tonic %}
// GeoJSON!
var google = "https://storage.googleapis.com/maps-devrel/google.json"
JSON.parse(await require("request-promise")(google))
{% endtonic %}
And here is a read-only notebook:
{% tonic readOnly=true %}
// GeoJSON!
var google = "https://storage.googleapis.com/maps-devrel/google.json"
JSON.parse(await require("request-promise")(google))
{% endtonic %}
Embed tonic notebook into your book
Latest: 1.1.0
1.0.0, 1.1.0,
| GitBook | |
|---|---|
| 1.1.0 | >=2.0.0 |