mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
docs: Update recording example with new asciinema player config
This commit is contained in:
parent
a718a05414
commit
e0d5d35e32
1 changed files with 13 additions and 4 deletions
|
@ -1,17 +1,26 @@
|
||||||
---
|
---
|
||||||
parent: Example chat transcripts
|
parent: Example chat transcripts
|
||||||
nav_order: 9999
|
nav_order: 9999
|
||||||
|
layout: minimal
|
||||||
---
|
---
|
||||||
|
|
||||||
# Recording
|
# Recording
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/assets/asciinema-player.css" />
|
<link rel="stylesheet" type="text/css" href="/assets/asciinema/asciinema-player.css" />
|
||||||
|
|
||||||
|
|
||||||
<div id="demo" style="width: 100%;"></div>
|
<div id="demo"></div>
|
||||||
<script src="/assets/asciinema-player.min.js"></script>
|
<script src="/assets/asciinema/asciinema-player.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
AsciinemaPlayer.create('https://gist.githubusercontent.com/paul-gauthier/9a11ec0923663204e280530d5bbd8df4/raw/2985f05edcf8b9f6f1d40f323aa46a44afebe6a4/tmp.redacted2.cast', document.getElementById('demo'));
|
url = "https://gist.githubusercontent.com/paul-gauthier/3011ab9455c2d28c0e5a60947202752f/raw/5a5b3dbf68a9c2b22b4954af287efedecdf79d52/tmp.redacted.cast";
|
||||||
|
AsciinemaPlayer.create(
|
||||||
|
url,
|
||||||
|
document.getElementById('demo'),
|
||||||
|
{
|
||||||
|
speed: 1.25,
|
||||||
|
idleTimeLimit: 1,
|
||||||
|
}
|
||||||
|
);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue