Polacode is an extension for VS Code that allows you to quickly create awesome screenshots of your code for sharing with others. What makes this unique is it keeps your existing theme and fonts and puts it in a nice layout. Here is an example:
This uses the following settings I had defined:
1"editor.fontFamily": "Operator Mono",2"workbench.colorTheme": "Atom One Dark",3"editor.fontSize": 12,
I know you are probably asking yourself why not just take a screenshot of the code and share that? Well, they have answers for this:
- I like and care about the shadow, padding & rounded corner of macOS’s screenshot. I want an easy way to have those nice visuals for any selection of my snippet.
- I want to hide errors, warnings, color decorators, folding markers, line numbers, scrollbar and minimap.
- It generates something decent on Windows & Linux.
I do agree the output looks great and is quick to use. Now install it and get to making those inspirational :fire: tweets from your code.