{"repo":"westrik/mdpdf","free":true,"listed":false,"github":"https://github.com/westrik/mdpdf","clone":"git clone https://github.com/westrik/mdpdf.git","description":"Convert Markdown to PDF using a self-contained Rust binary (CLI or Node.js)","language":"Rust","stars":21,"topics":["markdown","nodejs","pdf","rust"],"license":"MIT","category":"media-processing","readme_excerpt":"mdpdf Convert Markdown to PDF with a self-contained Rust binary via CLI or Node.js. Features - Convert Markdown to PDF using Typst - Self-contained (no large external dependencies) - Cross-platform support (x86 64 and aarch64) - Node.js bindings via napi-rs - Syntax highlighting for code blocks - GitHub Flavored Markdown features, including alerts, footnotes, task lists, tables, and strikethrough - Math rendering, internal links, and optional tables of contents - Custom fonts, page sizes, margins, and Typst configuration Example Output - Example PDF (Source) Usage Basic Usage CLI Node.js markdownToPdfWithStats returns the generated PDF and character, line, conversion-time, and rendering-time statistics. markdownToTypstCode accepts the same options. Existing positional Node.js arguments remain supported but are deprecated; pass an options object for new code. The CLI accepts equivalent document options: Development CLI Node.js This project requires the Yarn version pinned in package.json . Use corepack yarn rather than a globally installed yarn ; this avoids falling back to Yarn 1 and ensures failed N-API builds cannot leave index.d.ts empty.","default_branch":null,"files":null,"tree":[],"storefront":"/r/westrik","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/westrik/mdpdf/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."}