Skip to content

feat(client): implement code wrapper export to image like carbon - #336

Closed
jospaquim wants to merge 2 commits into
jordan-dalby:mainfrom
jospaquim:feat/code-export
Closed

feat(client): implement code wrapper export to image like carbon#336
jospaquim wants to merge 2 commits into
jordan-dalby:mainfrom
jospaquim:feat/code-export

Conversation

@jospaquim

Copy link
Copy Markdown
Contributor

Introduces the ability to export any code snippet as a macOS-style image locally from the browser.

Key Features:

  • Code to Image Export: Added an "Export as image" button in code block views.
  • macOS Style Preview: Implemented Carbon Export Preview to wrap syntax-highlighted code in a macOS window frame.
  • Client-Side Rendering: Uses html-to-image to generate PNG and SVG files offline.
  • Sharing Capabilities: Options to download, copy directly to the clipboard, and share via X/LinkedIn.
  • Localization: Synchronized UI translations for all supported languages (en, es, ru, ja).

@jordan-dalby

Copy link
Copy Markdown
Owner

Hi, this has a few merge conflicts, once fixed I'll merge it. Thanks!

@jospaquim

Copy link
Copy Markdown
Contributor Author

Hi @jordan-dalby, the merge conflicts have been resolved, and the branch is up to date now. Let me know if you need anything else!

@jordan-dalby

Copy link
Copy Markdown
Owner

@jospaquim git is still saying theres some merge conflicts. Would you mind creating a new branch from main, then cherry-picking your commit and making a new PR? Should be all clean that way.

@jospaquim jospaquim closed this Mar 17, 2026
@jospaquim
jospaquim deleted the feat/code-export branch March 17, 2026 18:54
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.

2 participants