alanshaw/markdown-pdf
:page_facing_up: Markdown to PDF converter observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4856
- days_rel: n/a
- days_push: 1049
- n_releases_24m: 0
Adoption not part of the score
2876 stars · 253 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js module and CLI that converts Markdown files to PDFs by rendering them through HTML and PhantomJS. It supports custom CSS styling, paper formats, headers/footers, and pre-processing functions for templating.
Use cases
- convert markdown files to pdf
- generate pdf documents from md files
- create pdf reports from markdown
- style markdown pdf output with custom css
- batch convert markdown documentation to pdf
- programmatically convert markdown to pdf in node
When to choose
- you need simple markdown-to-pdf conversion in Node.js
- you want customizable PDF styling via CSS
- you need both a CLI and a programmatic API
When to avoid
- you need actively maintained software with modern rendering (PhantomJS is deprecated)
- you need high-fidelity HTML/CSS rendering beyond PhantomJS capabilities
- you are not using Node.js
Facets
library · maturity maintenance
pdf markdown templating cli pdf documentation developer-tools files cli cross-platform markdown-to-pdf phantomjs pdf-generation document-conversion nodejs
2 sources
- readme: https://github.com/alanshaw/markdown-pdf · fetched 2026-08-28 · 946bbe638126
- registry_npm: https://registry.npmjs.org/markdown-pdf · fetched 2026-08-29 · bccdf5e338c6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alanshaw/markdown-pdf | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="alanshaw/markdown-pdf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem