Asciinema
Hextra asciinema terminal recording player shortcode.
1 minute read
Embeds an asciinema terminal recording player. The player CSS/JS is loaded from CDN automatically when this shortcode is used.
{{< hextra/asciinema file="demo.cast" >}}
Parameters:
| Parameter | Description | Default |
|---|---|---|
file | Path or URL to the .cast file (also accepts positional param) | (required) |
theme | Player color theme | asciinema |
speed | Playback speed multiplier | 1 |
autoplay | Auto-play on load | false |
loop | Loop playback | false |
poster | Poster/thumbnail specification | (none) |
markers | Comma-separated time markers (e.g., "5:Intro,10:Demo") | (none) |
Example: