Because it is unnecessary therefore essential !
Turn real code (From VS Code) into faux code (SVG image)
The code has to look right.
- 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
andpolafaux.lineNumberOffset
Using default options with the theme atom-one-dark
Using squared lines, including line numbers with the theme gruvbox-light
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.
MIT