Asciinema

This shortcode add support for the asciinema, a CLI tool records and share terminal sessions.

Usage

1{{< asciinema [id] >}}

Parameters

PositionNameTypeRequiredDefaultDescription
#0idstringYThe asciicast ID.
themestringasciinema, tango, solarized-dark, solarized-light, monokai.
autoplaybooleanfalseWhether to auto play.
speednumber1Playback speed.
colsnumberUsed to override width (in characters) of the emulated terminal.
rowsnumberUsed to override height (in lines) of the emulated terminal.

Examples

1{{< asciinema 573031 >}}

Asciinema with Theme

1{{< asciinema id=573031 theme=solarized-light >}}

Asciinema with Auto Play

1{{< asciinema id=573031 autoplay=true >}}

Asciinema with Speed

1{{< asciinema id=573031 speed=2.5 >}}

Asciinema with Cols and Rows

1{{< asciinema id=573031 cols=120 rows=20 >}}