octref/polacode:
2018-02-20 19:15:03 Author: github.com(查看原文) 阅读量:158 收藏

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

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

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

Download button animation is made with Vivus.

License

MIT


文章来源: https://github.com/octref/polacode
如有侵权请联系:admin#unsafe.sh