How do you create your code snippets?

madza profile image Madza ・1 min read

Whether it's for educational purposes in a tutorial or just sharing an idea with a friend, often in our dev workflow it's important to know some beautiful code snippet creation tools.

From capturing directly from code editor I use Polacode.
If I need a specific design for the snippet, I usually use Carbon.sh

What are your weapons/methods of choice?


markdown guide

I didn't know about Polacode - nice tip! I also use carbon, especially for presentations.

Most of the time when I need to share a code snippet directly from my code base it's for a colleague, so in all honesty I just use slack with the backtick code formatting - it lets them copy and paste too rather than a picture 😊