{"repo":"elliotblackburn/mdpdf","free":true,"listed":false,"github":"https://github.com/elliotblackburn/mdpdf","clone":"git clone https://github.com/elliotblackburn/mdpdf.git","description":"Markdown to PDF command line app with support for stylesheets","language":"TypeScript","stars":801,"topics":["markdown","converter","pdf","javascript","node","pdf-converter"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"MDPDF - Markdown to PDF converter A command line markdown to pdf converter with support for page headers, footers, and custom stylesheets. Mdpdf is incredibly configurable and has a JavaScript API for more extravogant usage. For examples of how to use headers and footers, see the examples directory. If you're using the Atom text editor, checkout the markdown-pdf plugin which uses mdpdf. Contributions This project started as a simple tool to solve my own need. While it is open to contributions, this is maintained as a best effort when I get the time and desire to do so. Contributions are welcome but please understand that this is not a priority project for me, and so responses and actions may be slow or glacial. If you have a bug to report, or would like to submit a patch please read through the contributors guide. Installation Install globally to use from the command line. npm install mdpdf -g Install locally to access the API. npm install mdpdf --save Example usage mdpdf README.md - Simple convert using GitHub Markdown CSS and some additional basic stylings. mdpdf README.md --style styles.css --header header.hbs --h-height 22 - Convert with custom styling with a header of height 22mm. Options --style= - A single css stylesheet you wish to apply to the PDF --header= - A HTML (.html) file to inject into the header of the PDF --h-height= - The height of the header section --footer= - A HTML (.html) file to inject into the footer of the PDF --f-height= - The height of the footer","default_branch":null,"files":null,"tree":[],"storefront":"/r/elliotblackburn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/elliotblackburn/mdpdf/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."}