{"repo":"atomiechen/astroprint","free":true,"listed":false,"github":"https://github.com/atomiechen/astroprint","clone":"git clone https://github.com/atomiechen/astroprint.git","description":"Print-ready Markdown documents for Astro, with normal web preview, paged preview, and PDF export.","language":"TypeScript","stars":10,"topics":["astro-integration","citation","markdown","paged-media","pdf","print","withastro"],"license":"MIT","category":"media-processing","readme_excerpt":"astroprint — print-ready Markdown for Astro Print-ready Markdown documents for Astro, with normal web preview, Paged.js preview, and PDF export. Use astroprint for CVs, reports, notes, and other Markdown-first documents that should stay editable as Astro pages while still exporting clean PDFs. It uses Astro's content, layout, asset, and dev-server behavior, then adds print-oriented Markdown transforms, optional injected document routes, paged preview, and a PDF CLI. Quick Start Add the integration to an Astro project: This installs astroprint and updates astro.config.mjs with the default integration setup. Use the equivalent pnpm astro add , yarn astro add , or bunx astro add command if your project uses another package manager. astroprint currently targets Node 20+ and Astro 5. With no options, the integration only installs Markdown processing plugins for directives, :logolink , BibTeX conversion, and HTML comment stripping. astro add imports it as print by default, so use normal Astro pages and layouts when you want to control routes yourself: The integration also excludes astroprint-generated work directories matching /.astroprint / from Vite's dev-server watcher. Add injectedRoutes only when you want astroprint to inject normal and optional preview routes for a document source. Each injected route must provide an explicit route ; astroprint will not guess a public URL for you. Add top-level pdf when you want astroprint pdf to work without passing --route : By default, con","default_branch":null,"files":null,"tree":[],"storefront":"/r/atomiechen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/atomiechen/astroprint/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."}