By using code blocks, you can effectively showcase programming concepts, share code with peers, or organize your own code snippets. Moreover, it allows you to effortlessly copy any code to your clipboard for use in other contexts.
By utilizing a code block, you can exhibit code on any Trickle post or item in a distinct format, separate from your other content and categorized by language.
Once you have created your code block, simply click inside it to begin typing or pasting your code.
The menu at the top of the code block is where you can apply the following:
After posting the code block, click the "Copy" button on the top right corner to copy your code for sharing or pasting into an editor.
⌨️ Note
Multiple code blocks can be added to a single post or item, and the code you share can be copied by everyone in the workspace.