Markdown to PDF is a Hackable CLI tool for converting Markdown files to PDF with Node.js

Markdown to PDF is a Hackable CLI tool for converting Markdown files to PDF with Node.js

Table of Content

This is a free and open-source hackable CLI tool for converting Markdown files to PDF using Node.js. It uses Marked to convert markdown to HTML, Puppeteer to convert HTML to PDF, and highlight.js for code highlighting. The source code is small and customizable.

Features

  • Concurrently convert multiple Markdown files
  • Watch mode
  • Use your own or remote stylesheets/scripts
  • Front-matter for configuration
  • Headers and Footers
  • Page Breaks
  • Syntax highlighting in code blocks
  • Extend the options of the underlying tools
  • Programmatic API
  • Supports stdio
  • Convert HTML (or inline HTML) to PDF

License

  • MIT License

Resources & Downloads

Markdown to PDF
Download Markdown to PDF for free. Hackable CLI tool for converting Markdown files to PDF using Node.js. A simple and hackable CLI tool for converting markdown to pdf. It uses Marked to convert markdown to HTML and Puppeteer (headless Chromium) to further convert the HTML to PDF.
GitHub - simonhaenisch/md-to-pdf: Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome. - GitHub - simonhaenisch/md-to-pdf: Hackable CLI tool for converting Markdown files to PDF using Node.js an…
md-to-pdf
CLI tool for converting Markdown files to PDF.. Latest version: 5.2.4, last published: 9 months ago. Start using md-to-pdf in your project by running `npm i md-to-pdf`. There are 33 other projects in the npm registry using md-to-pdf.







Open-source Apps

9,500+

Medical Apps

500+

Lists

450+

Dev. Resources

900+

Read more

Why We're Betting Big on DeepSeek-V3: A Personal Dive into the Open-Source AI That’s Changing the Game and Redefining AI Excellence

Why We're Betting Big on DeepSeek-V3: A Personal Dive into the Open-Source AI That’s Changing the Game and Redefining AI Excellence

In a bold challenge to AI giants like OpenAI, DeepSeek has unleashed DeepSeek-R1—a revolutionary open-source model that marries brute-force intelligence with surgical precision. Boasting 671 billion parameters (only 37B active per task), this MIT-licensed marvel slashes computational costs while outperforming industry benchmarks in coding, mathematics, and complex reasoning. With

By Hazem Abbas