freeze
Generate images of code and terminal output. tldr-pages
On several platforms
Several platforms
Generate images of code and terminal output. Supported formats are PNG, SVG, and WebP.
Generate an image of code based on a file
freeze path/to/fileIdentifySpecify the output path
freeze path/to/file --output path/to/output_image.pngIdentifyGenerate an image of terminal output
freeze --execute commandIdentifyInteractively customize the output image
freeze path/to/file --interactiveIdentifySelect a theme for syntax highlighting
freeze path/to/file --theme draculaIdentifyUse a base configuration template
freeze path/to/file --config baseIdentifyCapture a specific range of line numbers
freeze path/to/file --lines start,endIdentifyShow line numbers
freeze path/to/file --show-line-numbersIdentify