From 9e9a63ee5ea2fe45078b3d5707000aaf3a15931d Mon Sep 17 00:00:00 2001 From: Salvydas Lukosius Date: Wed, 18 Oct 2023 08:57:36 +0100 Subject: [PATCH] [feat]: asciinema player controls and markers. modified: src/components/HomeFeatures/index.tsx modified: src/components/Player/asciinema-player.d.ts --- src/components/HomeFeatures/index.tsx | 1 + src/components/Player/asciinema-player.d.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/HomeFeatures/index.tsx b/src/components/HomeFeatures/index.tsx index 9c1754e7..3b4b5efe 100644 --- a/src/components/HomeFeatures/index.tsx +++ b/src/components/HomeFeatures/index.tsx @@ -56,6 +56,7 @@ export default function HomeFeatures(): JSX.Element { terminalFontFamily='var(--ifm-font-family-monospace)' terminalFontSize='var(--ifm-code-font-size)' fit={false} + controls={false} /> diff --git a/src/components/Player/asciinema-player.d.ts b/src/components/Player/asciinema-player.d.ts index f1583288..1812cfd9 100644 --- a/src/components/Player/asciinema-player.d.ts +++ b/src/components/Player/asciinema-player.d.ts @@ -16,5 +16,7 @@ declare module "asciinema-player" { terminalLineHeight?: number; terminalFontFamily?: string; terminalFontSize?: string; + controls?: boolean | string; + markers?: array; } }