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.
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.