I want to embed an [https://asciinema.org/] screencast into a Xaringan document.
The standard way to do this is described at https://asciinema.org/docs/embedding, and essentially consists of a script into your HTML, for example:
<script src="https://asciinema.org/a/14.js" id="asciicast-14" async></script>
This doesn't work in xaringan, since any <script> element gets converted to plain text:
<script src="https://asciinema.org/a/14.js" id="asciicast-14" async></script>
I have tried all sorts of permutations of including https://asciinema.org/a/14.js into Xaringan, e.g. by including in includes: in_header, nature:before_init, nature:after_init, nature:after_body, but none of my incantations work.
Is there some magic incantation to embed asciinema?