octref / 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 ๐Ÿ“ธ

usage

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.

Tips

  • Resize the snippet / container by dragging the lowerright corner
  • Use polacode.target, polacode.shadow, polacode.transparentBackground and polacode.backgroundColor to control image appearance

Demo

Nord + Input Mono

demo1

Monokai Pro + Operator Mono

demo2

Material Theme Palenight + Fira Code

demo3

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.

Many color are taken from the elegant Nord theme by @arcticicestudio.

Download button animation is made with Vivus.

Contribution

Contribution is not very welcome. Please open an issue first so I can stop you from complicating the UX.

License

MIT

About

๐Ÿ“ธ Polaroid for your code

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


Languages

Language:JavaScript 71.8%Language:HTML 28.2%