Skip to content

Instantly share code, notes, and snippets.

@patillacode
Created July 22, 2023 21:16
Show Gist options
  • Save patillacode/941f24ae67d7f739295a89faf7e9901f to your computer and use it in GitHub Desktop.
Save patillacode/941f24ae67d7f739295a89faf7e9901f to your computer and use it in GitHub Desktop.
asciinema in your README
# generate asciinema (ctrl-D) to exit when done
asciinema rec -t my-demo
# convert asciinema into svg via svg-term (https://github.com/marionebl/svg-term-cli)
svg-term --cast=598561 --out examples/demo.svg --window
# add svg to your markdown file aka README
![asciinema](./examples/demo.svg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment