This plugins requires gitbook >=2.0.0
.
Add the below to your book.json
file, then run gitbook install
:
{
"plugins": ["asciinema"]
}
You can now add Asciinema screencats to your book using this tag:
Take a look at this:
{% asciinema %}bxwffohsczswrxie2z3y9ex3n{% endasciinema %}
The asciinema will be replaced by the embed script in the website, and by a link in the ebook version.