Skip to content

ElinksFr/Polafaux

Repository files navigation

Polafaux — Polaroid for your faux-code 📊

usage

Why?

Because it is unnecessary therefore essential !

Turn real code (From VS Code) into faux code (SVG image)

The code has to look right.

Tips

  • You can play with the options before saving the svg
  • Default options can be configure with polafaux.themeName, polafaux.fontSize, polafaux.leading, polafaux.lineCap, polafaux.margin, polafaux.lineNumbers and polafaux.lineNumberOffset

Demo

Using default options with the theme atom-one-dark

basic

Using squared lines, including line numbers with the theme gruvbox-light

square

Credit

This is a direct reimplemantation of faux-code-generator by @knutsynstad

The main difference resides on the utilization of highlight.js instead of relying on github gists.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published