News for hackers. Stuff that matters.
Re:Show HN: Generate high-res images of code samples with Ch... by hk__2 on Monday September 11, 2017 @02:40PM (#15220966)
Can’t you it directly using Pygments’ ImageFormatter?

http://pygments.org/docs/formatters/#ImageFormatter

Re:Show HN: Generate high-res images of code samples with Ch... by sago on Monday September 11, 2017 @02:52PM (#15221111)
Apparently so! I don't generate images myself, so i didn't know.

    $ pygmentize -o out.png src.py 
Neat.