codesnap

Generate code snapshots in various formats with syntax highlighting

brewmacoslinux
Try with needOr install directly
Source

About

Generates code snapshots in various formats

Commands

codesnap

Examples

Create a snapshot of a Python file with default settings$ codesnap snapshot script.py
Generate snapshot as PNG with custom window title$ codesnap snapshot -o output.png --title 'My Code' file.js
Create snapshot with specific theme and line numbers$ codesnap snapshot --theme dracula --lines main.go