rlugojr / polacode

📸 Polaroid for your code

Home Page:https://marketplace.visualstudio.com/items?itemName=pnp.polacode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polacode

Polaroid for your code 📸.

MarketPlace Page

usage

By Pine & Peng from VS Code team. Happy Coding!

Why?

You have spent countless hours finding the perfect JavaScript grammar, matching it with a sleek-looking VS Code theme, trying out all the best programming fonts.

You take three days porting over your theme before starting to use VS Code.
You shell out $200 for italic cursive html attributes.

The code has to look right.

Seriously, why not just take a screenshot?

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

Demo

Nord + Input Mono

demo1

Monokai Pro + Operator Mono

demo2

Material Theme Palenight + Fira Code

demo3

Tip

  • If you have the Vim extension, remove its keybinding for copying. Otherwise VS Code won't copy code with syntax highlighting. Alternatively you can run the command Copy with Syntax Highlighting.
  • When running out of horizontal space, try the command View: Toggle Editor Group Vertical/Horizontal Layout.

Credit

Thanks to @tsayen for making dom-to-image, which Polacode is using for generating the images.

Thanks to Dawn Labs for making Carbon that inspired Polacode.

Download button animation is made with Vivus.

License

MIT

About

📸 Polaroid for your code

https://marketplace.visualstudio.com/items?itemName=pnp.polacode


Languages

Language:HTML 45.7%Language:JavaScript 40.4%Language:TypeScript 13.9%