Skip to content

Commit bcb9e9d

Browse files
committed
chore: add changeset for PNG screenshot feature
1 parent d05c5dd commit bcb9e9d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.changeset/png-screenshots.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"sideshow": minor
3+
---
4+
5+
Screenshot surfaces as PNG by appending `.png` to any surface URL (e.g. `/s/:id.png`). Uses Cloudflare Browser Rendering to capture the rendered page. Supports `?mode=dark|light`, `?theme=`, `?w=` (width), and `?nocache` params. The viewer persists the user's OS color-scheme in a cookie so screenshots automatically match their light/dark preference.

0 commit comments

Comments
 (0)