mplewis/src2png
View on GitHub ↗ ★ 2,176 JavaScript
📸💻 Turn your source code into beautiful syntax-highlighted images.
4 mentions on Hacker News by 3 people: 1 story, 3 comments · first 2017-09-11 · latest 2017-09-14
20082026
-
You may want to a look at https://github.com/mplewis/src2png (it was popular on here at the beginning of the week https://news.ycombinator.com/item?id=15220069 )
comment by illizian · 2017-09-14 · in Sublime Text 3.0 -
…of Pygments C++ output: http://imgur.com/a/7TbMb And the same file through Prism.js + Puppeteer: https://github.com/mplewis/src2png/blob/master/docs/arduino.... Pygments does a great job of generating detailed PNGs. The default settings…
comment by mplewis · 2017-09-11 · in Show HN: Generate high-res images of code samples with Chrome Headless -
…knows a tool which can help us draw simple diagrams like the one that was mentioned in the README?? https://github.com/mplewis/src2png/blob/master/docs/foreach_...
comment by vijaybritto · 2017-09-11 · in Show HN: Generate high-res images of code samples with Chrome Headless