An open API service indexing awesome lists of open source software.

https://github.com/toxblh/polacode-fork

📸 Polaroid for your code
https://github.com/toxblh/polacode-fork

Last synced: about 1 year ago
JSON representation

📸 Polaroid for your code

Awesome Lists containing this project

README

          

# FORK:

- Removed white background - it's ugly for all not white backgrounds
- Added menu for customization
- Fixed bugs

![image](https://user-images.githubusercontent.com/2198153/65693199-d15a7680-e06b-11e9-937e-16a095702a23.png)

## Contribution

Contribution is extremely welcome.

------
Original part
# Polacode

Polaroid for your code 📸.

[MarketPlace Page](https://marketplace.visualstudio.com/items?itemName=Toxblh.polacode-fork)

![usage](https://github.com/octref/polacode/raw/master/demo/usage.gif)

By [Pine](https://github.com/octref) & [Peng](https://github.com/rebornix) from VS Code team.
Happy Coding!

## Why?

You have spent countless hours finding the perfect [JavaScript grammar](https://marketplace.visualstudio.com/search?term=javascript%20grammar&target=VSCode&category=All%20categories&sortBy=Relevance), matching it with a [sleek-looking VS Code theme](https://marketplace.visualstudio.com/search?target=VSCode&category=Themes&sortBy=Downloads), trying out all the [best programming fonts](https://www.slant.co/topics/67/~best-programming-fonts).

You take three days porting over [your theme](https://github.com/wesbos/cobalt2-vscode) before starting to use VS Code.
You shell out $200 for [italic cursive html attributes](https://www.typography.com/blog/introducing-operator).

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](https://github.com/arcticicestudio/nord-visual-studio-code) + [Input Mono](http://input.fontbureau.com)

![demo1](https://raw.githubusercontent.com/octref/polacode/master/demo/1.png)

[Monokai Pro](https://marketplace.visualstudio.com/items?itemName=monokai.theme-monokai-pro-vscode) + [Operator Mono](https://www.typography.com/blog/introducing-operator)

![demo2](https://raw.githubusercontent.com/octref/polacode/master/demo/2.png)

[Material Theme Palenight](https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme) + [Fira Code](https://github.com/tonsky/FiraCode)

![demo3](https://raw.githubusercontent.com/octref/polacode/master/demo/3.png)

## Tip

- When running out of horizontal space, try the command `View: Toggle Editor Group Vertical/Horizontal Layout`.

## Credit

Thanks to [@tsayen](https://github.com/tsayen) for making [dom-to-image](https://github.com/tsayen/dom-to-image), which Polacode is using for generating the images.

Thanks to [Dawn Labs](https://dawnlabs.io) for making [Carbon](https://carbon.now.sh) that inspired Polacode.

Many color are taken from the elegant [Nord](https://github.com/arcticicestudio/nord) theme by [@arcticicestudio](https://github.com/arcticicestudio).

Download button animation is made with [Vivus](https://github.com/maxwellito/vivus).

## Contribution

Contribution is extremely unwelcome.
Please open an issue first so I can stop you from complicating the UX.

## License

MIT