Skip to content

feat: support multiple code blocks with independent syntax highlighting - #460

Open
unclebay143 wants to merge 2 commits into
raycast:mainfrom
unclebay143:unclebigbay/add-multi-language-screenshot-view
Open

feat: support multiple code blocks with independent syntax highlighting#460
unclebay143 wants to merge 2 commits into
raycast:mainfrom
unclebay143:unclebigbay/add-multi-language-screenshot-view

Conversation

@unclebay143

Copy link
Copy Markdown

Adds support for rendering multiple code blocks with independent syntax highlighting languages.
Fixes #459

C32R50x.mp4

Editor

image

Export

Factorial (5)

Changes Summary

  • Add multi-block code screenshots: stack up to 4 theme windows in one export, each with its own title, language, and highlighted lines
  • Preserve original single-block theme chrome; multi only appends whole windows (no shared fake header)
  • Add a floating + on the controls panel edge to add blocks; per-window delete on hover; language/format apply to the active block
  • Persist multi-block state in the URL hash (blocks) while keeping legacy single-block params for back-compat
  • Always show language labels on multi-block Cloudflare / Trigger.dev windows even when the title is empty

Users can stack up to four theme windows in one export, each with its own
title, language, and highlighting, while preserving original frame chrome.
… windows.

Stacked snippets need a per-window language cue even when the title is empty.
@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

@unclebay143 is attempting to deploy a commit to the Raycast Team on Vercel.

A member of the Team first needs to authorize it.

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.

Support multiple code blocks with independent syntax highlighting

1 participant