Skip to content

asciinema

Asciinema official documents.

Remote file

Add custom css like below to adjust terminal size.

.asciicast {
    max-width: 600px;
}

Local file

Use asciinema player.

Note: this cannot be used with i18n otherwise demo.cast and demo.<lang>.cast are prepared.

Gif

Follow the https://docs.asciinema.org/manual/agg/ to create gif.

This demo was created by the command agg --theme monokai --cols 80 --rows=24 demo.cast demo.gif.

demo.gif