Block Sharing
Share a block with your team or community.
Share your blocks with a permalink or HTML embed. You can get started with shared blocks by opening the context menu and copying the command, output, or prompt.
How to Share Blocks
To share your blocks, follow these steps:
On a finished block, click the context menu and select
Share...
or select the block and hitCMD-SHIFT-S
.A modal will pop up that lets you title your block and customize it by selecting which parts of the block you want to share (e.g. command, output, prompt, etc.).
Click either "Create link" or "Get embed" depending on how you want to share your block.
The link or embed snippet will be copied to your clipboard.

Permalink
Create and share a permalink to your blocks to collaborate with teammates. Here is the web permalink of the block depicted below.

Embedded Blocks
Create and embed your blocks on web pages to help your readers follow along with technical writing. Readers can interact with an embedded block as they would with a block in Warp, with a context menu and styling. When you click "Get embed", Warp will copy an iframe
to your clipboard. Here's an example iframe
:
<iframe src="https://app.warp.dev/block/embed/qn0g1CqQnkYjEafPH5HCVT"
title="server script error" style="width: 712px; height: 397px; border:0;
overflow:hidden;" allow="clipboard-read; clipboard-write"></iframe>
Embedded Block Example on Web Page

Managing Shared Blocks
You can unshare a block by navigating to Settings > Shared blocks
. Currently, shared blocks are accessible to anyone with the link.
Link Previews
Shared permalinks will also display a preview of your code for quick context on each link.
Last updated
Was this helpful?