From 813a201b6a2fa0faaae42dc72281d4721bfd6e70 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 14 Mar 2025 08:27:20 -0700 Subject: [PATCH] refactor: Move markers definition to recording.md and simplify recording.js --- aider/website/_includes/recording.js | 5 +---- aider/website/examples/recording.md | 21 ++++++++++++++------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/aider/website/_includes/recording.js b/aider/website/_includes/recording.js index b749a3351..95b76a6ea 100644 --- a/aider/website/_includes/recording.js +++ b/aider/website/_includes/recording.js @@ -10,10 +10,7 @@ document.addEventListener('DOMContentLoaded', function() { idleTimeLimit: 1, theme: "aider", poster: "npt:0:01", - markers: [ - [1.0, "Hello!"], - [5.0, "Hello, this is a test. This is only a test."], - ], + markers: markers } ); diff --git a/aider/website/examples/recording.md b/aider/website/examples/recording.md index 246fba7b5..be876fe3e 100644 --- a/aider/website/examples/recording.md +++ b/aider/website/examples/recording.md @@ -12,6 +12,15 @@ layout: minimal {% include recording.css %} + + +
@@ -25,13 +34,11 @@ layout: minimal
- - - - - +# Transcript + +- 0:01 Hello! +- 0:05 Hello, this is a test. This is only a test. +