{"repo":"inokawa/remark-pdf","free":true,"listed":false,"github":"https://github.com/inokawa/remark-pdf","clone":"git clone https://github.com/inokawa/remark-pdf.git","description":"remark plugin to compile markdown to pdf.","language":"TypeScript","stars":45,"topics":["markdown","remark","unified","mdast","remark-plugin","pdf","pandoc"],"license":"MIT","category":"media-processing","readme_excerpt":"remark-pdf remark plugin to compile markdown to pdf. - Uses pdfkit for compilation, to avoid issues with puppeteer or headless chromium. - Works in any environment (e.g. browser, Node.js). - Generates PDF/A-3A compliant document for accessibility. - Supports configuration of page layout, fonts and styles. Supported mdast nodes Currently, some of the default styles may not be nice. If you have some feature requests or improvements, please create a issue or PR. - [x] paragraph - [x] heading - [x] thematicBreak - [x] blockquote - [x] list / listItem - [x] table / tableRow / tableCell - [x] definition - [x] text - [x] emphasis - [x] strong - [x] delete - [x] inlineCode - [x] break - [x] link / linkReference - [ ] footnoteReference / footnoteDefinition - [x] image / imageReference - [ ] html - [x] code - [ ] math / inlineMath Demo https://inokawa.github.io/remark-pdf/ Install Usage Browser Node.js Example: Custom fonts Use custom fonts by providing a fonts option. Use the fonts by name in your styles configurations; the font file will be autoselected based on the chosen bold and italic style specifications. Note that variable-width fonts are supported, but the path to the same font file must be supplied for all four font variant styles. Documentation - API reference Contribute All contributions are welcome. If you find a problem, feel free to create an issue or a PR. Making a Pull Request 1. Fork this repo. 2. Run npm install . 3. Commit your fix. 4. Add tests to cover the fix. 5.","default_branch":null,"files":null,"tree":[],"storefront":"/r/inokawa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/inokawa/remark-pdf/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."}