This is what I'm using as a way of styling code snippets for my upcoming textbook "Constructing Visualizations". Since the syntax highlighting and styling capabilities of LaTeX are limiting, I wanted to use a custom image generation pipeline for source code images designed for print. The idea is that this can integrate with the VizHub API and generate high resolution images for print based on live code examples stored in VizHub.