Embed a recording on Github

#1

What is the best way to embed a asciinema recording on Github? - say Github issue, comment, PR, gist or pretty much anywhere on Github.

0 Likes

#2

Since Github doesn’t support javascript in their readmes/comments, the best we can do right now is to use the image link, pointing to asciinema server. With asciinema.org, you can find it on asciicast page by clicking “Share”. You get something like this:

[![asciicast](https://asciinema.org/a/170142.png)](https://asciinema.org/a/170142)

It displays a preview image wrapped in a link which points to the player on asciinema.org

1 Like