freeze
all
Generate images of code and terminal output. Supported formats are PNG, SVG, and WebP. See also: `silicon`.
More info →Options (5)
-o, --outputbooleanSpecify the output path
Example:
freeze {{path/to/file}} {{[-o|--output]}} {{path/to/output_image.png}}-x, --executebooleanGenerate an image of terminal output
Example:
freeze {{[-x|--execute]}} {{command}}-i, --interactivebooleanInteractively customize the output image
Example:
freeze {{path/to/file}} {{[-i|--interactive]}}-t, --themebooleanSelect a theme for syntax highlighting
Example:
freeze {{path/to/file}} {{[-t|--theme]}} {{dracula}}-c, --configbooleanUse a base configuration template
Example:
freeze {{path/to/file}} {{[-c|--config]}} {{base|full|user}}Examples (8)
Generate an image of code based on a file
freeze path/to/fileSpecify the output path
freeze path/to/file [-o|--output] path/to/output_image.pngInteractively customize the output image
freeze path/to/file [-i|--interactive]Select a theme for syntax highlighting
freeze path/to/file [-t|--theme] draculaUse a base configuration template
freeze path/to/file [-c|--config] base|full|userCapture a specific range of line numbers
freeze path/to/file --lines start,endShow line numbers
freeze path/to/file --show-line-numbersmade by @shridhargupta | data from tldr-pages