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

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.

Read more