astroprint Markdown to web and PDF

Create print-ready CVs and documents in Markdown, preview them as normal web pages or paged sheets, and export them as PDF. Created by Atomie CHEN.

Examples: 3 ways to publish Markdown

These examples use a CV so you can compare the same concrete document across every path. The same approaches work for reports, notes, and other Markdown-first documents. Start with a normal Astro Markdown page; add generated routes for a separate Paged.js preview, or use an Astro content collection when several documents share one structure.

How the pages connect

  1. This page explains the authoring choices and links to their source.
  2. The native Markdown page is responsive and browser-printable on its Astro-created URL.
  3. Generated examples pair a Web route with a Paged route from the same source.
  4. The Paged route visualizes page breaks and page count from the same source.
  5. Home returns here from every document route.
  6. PDF export renders a Web route; it is an output format, not a fourth authoring path.

Start a project

Install the integration with npx astro add astroprint, then start with a normal Markdown page or configure generated routes when you need them. The README includes the complete setup and PDF backend instructions.