Markdown
Headings, tables, code blocks, and an optional table of contents.
Codeprint CLI
Turn Markdown, code, JSON, and CSV files into polished PDFs. Preview the result or approve the exact settings before anything reaches your printer.
Local by default. Review before printing.
~$ codeprint print docs/arch.md
Prepared arch.pdf for Office_Printer
Print 1 copy, A4, one-sided, auto, all pages? [y/N]
y
Every example uses commands and options available in the package.
~/project$ codeprint render README.md
Parsing Markdown...
Created 2-page PDF at /project/README.pdf
The same local rendering engine as the web app, packaged for terminal and agent workflows.
Headings, tables, code blocks, and an optional table of contents.
Syntax colors, line numbers, and more than 20 language profiles.
Pretty-printed as syntax-highlighted code with the JSON language profile.
Landscape-ready tables with headers and alternating row colors.
Hover an argument to inspect it.
One core rendering engine powers three workflows without sending documents through a Codeprint cloud.
An immediate editor and print preview for everyday use.
PDF rendering and confirmed CUPS printing from the terminal.
The same local capabilities exposed safely to AI assistants.
Powered by @codeprint/core
Printing consumes paper and ink. Codeprint resolves the file, printer, copies, paper size, duplex mode, color mode, and page ranges before asking for confirmation. Nothing reaches the spooler until you say yes.
For reviewed automation, --yes is the explicit escape hatch. It is never the default.
$ codeprint print manifest.json
Prepared manifest.pdf: 1 copy, A4, one-sided, auto, all pages, printer Home_LaserJet
Print these settings? [y/N]
npm install --global @codeprint/cli--force.Stop tabbing to the browser just to get a clean PDF. Install the CLI when the terminal is where your document begins.