Or you can just <i>literally</i> record it with <a href="https://asciinema.org/" rel="nofollow">https://asciinema.org/</a> and embed like a video. The text will be selectable even!
Maybe I'm missing something here, but it doesn't seem like it actually runs anything, it just has you provide "commands" and "responses", so you have to fake out your entire interaction. Which means that when you change something in your program's input or output, you'll need to manually edit the script, instead of being able to regenerate it.
BTW, I didn't make this - I thought it was a really cool tool and wanted to share it.<p>Credit for this tool goes to Rafael Camargo:<p><a href="https://glorious.codes/author" rel="nofollow">https://glorious.codes/author</a><p><a href="https://rafaelcamargo.com/?utm_source=glorious-codes&utm_medium=author" rel="nofollow">https://rafaelcamargo.com/?utm_source=glorious-codes&utm_med...</a>