Skip to content

Commit

Permalink
[feat]: asciinema player controls and markers.
Browse files Browse the repository at this point in the history
	modified:   src/components/HomeFeatures/index.tsx
	modified:   src/components/Player/asciinema-player.d.ts
  • Loading branch information
ss-o committed Oct 18, 2023
1 parent 2bd95dd commit 9e9a63e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/HomeFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/components/Player/asciinema-player.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ declare module "asciinema-player" {
terminalLineHeight?: number;
terminalFontFamily?: string;
terminalFontSize?: string;
controls?: boolean | string;
markers?: array;
}
}

0 comments on commit 9e9a63e

Please sign in to comment.