Polacode

Polaroid for your code

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者octref/polacode
主編程語言JavaScript
編程語言HTML (語言數: 2)
平台
許可證
所有者活动
創建於2018-02-09 23:10:07
推送於2022-08-24 11:09:12
最后一次提交2020-02-04 16:18:02
發布數5
最新版本名稱v0.3.4 (發布於 2019-09-27 09:24:14)
第一版名稱v0.3.0 (發布於 )
用户参与
星數6.8k
關注者數27
派生數184
提交數122
已啟用問題?
問題數162
打開的問題數75
拉請求數5
打開的拉請求數7
關閉的拉請求數12
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?