{"repo":"0xtlt/md2pdf","free":true,"listed":false,"github":"https://github.com/0xtlt/md2pdf","clone":"git clone https://github.com/0xtlt/md2pdf.git","description":"Fast, standalone Markdown-to-PDF converter written entirely in Rust","language":"Rust","stars":10,"topics":["cli","markdown","pdf","rust","typst"],"license":"MIT","category":"media-processing","readme_excerpt":"md2pdf A fast Markdown-to-PDF converter written in Rust. Pagination, images, tables, links, Mermaid diagrams, and syntax highlighting — no Python, browser, or LaTeX required. Install Homebrew Homebrew core ships a different Go-based md2pdf . Install this one with: If md2pdf --help mentions md2pdf.go , you have the wrong package: Binary Download the archive for your platform from the latest release. Cargo Usage Option Default Description --- --- --- SOURCE... required Markdown files, directories, or globs such as ./ / .md ( - for stdin) -o, --output PATH source with .pdf Output PDF, zip path, or directory for per-file mode --grep GLOB / .md for directories Optional extra filter when walking directories --output-mode files\\ merge\\ zip files Per-file PDFs, one merged PDF, or a zip of PDFs --name-format TEMPLATE {stem}.pdf Per-file / zip entry names ( {stem} , {name} , {dir} , {index} , {ext} ) -j, --jobs N CPU count (1–8) Parallel file conversions --title TEXT first # heading PDF metadata title --author TEXT empty PDF metadata author --page-size a4\\ letter a4 Page format --landscape off Landscape orientation --slides off Render a 16:9 deck; --- starts the next slide --slide-template modern\\ minimal\\ dark modern Built-in slide design --margin MM 17 Margins (8–45 mm) --accent '#RRGGBB' #C94C35 Heading color --code-theme dark\\ light dark Code block theme --line-numbers off Show code line numbers --no-header off Hide page header --page-break-before PREFIX none Page break before matc","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xtlt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xtlt/md2pdf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}