Skip to content

Docs: Remove invalid imageFormat from HTML-in-canvas twoslash example#7021

Merged
JonnyBurger merged 1 commit intomainfrom
docs/fix-html-in-canvas-twoslash
Apr 8, 2026
Merged

Docs: Remove invalid imageFormat from HTML-in-canvas twoslash example#7021
JonnyBurger merged 1 commit intomainfrom
docs/fix-html-in-canvas-twoslash

Conversation

@JonnyBurger
Copy link
Copy Markdown
Member

Summary

The HTML-in-canvas doc example passed imageFormat: 'png' to renderStillOnWeb(), but that option is not part of the API (still encoding uses still.blob({ format: 'png' }) instead). TypeScript reported TS2353 in the twoslash snippet and build-docs failed.

Change

Remove the invalid property from the twoslash sample so the docs typecheck passes.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Apr 8, 2026 7:55am
remotion Ready Ready Preview, Comment Apr 8, 2026 7:55am

Request Review

Copy link
Copy Markdown
Contributor

@pullfrog pullfrog bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no issues found.

Pullfrog  | View workflow run | Using Big Pickle (free) | 𝕏

@JonnyBurger JonnyBurger enabled auto-merge April 8, 2026 08:01
@JonnyBurger JonnyBurger changed the title docs: Remove invalid imageFormat from HTML-in-canvas twoslash example Docs: Remove invalid imageFormat from HTML-in-canvas twoslash example Apr 8, 2026
@JonnyBurger JonnyBurger merged commit 79572ad into main Apr 8, 2026
17 checks passed
@JonnyBurger JonnyBurger deleted the docs/fix-html-in-canvas-twoslash branch April 8, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant