When you click the Share button below a code block, Pieces generates a link that is specifically designed to share useful code with its context— it’s automatically copied to your clipboard once it’s generated.

Screen Shot 2022-08-30 at 10.59.34 AM.png

This means that instead of copying code and pasting it into a message, you can create a Pieces link that shares the code and maintains formatting, syntax highlighting and relevant tags. The recipient will also get the title, description, related links and other context about the snippet.

Screen Shot 2022-08-25 at 2.57 1.png