{"repo":"JeelGajera/jspdf-md-renderer","free":true,"listed":false,"github":"https://github.com/JeelGajera/jspdf-md-renderer","clone":"git clone https://github.com/JeelGajera/jspdf-md-renderer.git","description":"A jsPDF utility to render Markdown directly into formatted PDFs with custom designs.","language":"TypeScript","stars":22,"topics":["jspdf","markdown","renderer","jspdf-md","javascript","pdf-generation","md-to-pdf"],"license":"MIT","category":"productivity","readme_excerpt":"jsPDF Markdown Renderer A utility to render Markdown directly into formatted PDFs using jsPDF . Highlights - Rich markdown support (headings, lists, tables, images, code, blockquotes, links) - Configurable typography, spacing, and block styling - Header/footer and page-number support - Safe inline layout and long-token wrapping - Optional security enforcement for untrusted markdown Installation Quick Start Browser Usage Bundler (Vite/Webpack/Rollup) Script Tag (UMD) Supported Markdown - Headings ( # to ###### ) - Paragraphs - Ordered/unordered/task lists - Links - Images (with optional {width,height,align} attributes) - Tables - Code blocks and inline code - Blockquotes - Horizontal rules - Inline styles (bold/italic) Key Render Options Behavior notes: - Heading size fallback: heading.hN - page.defaultTitleFontSize - heading.bold defaults to true - List spacing precedence: spacing.betweenListItems list.itemSpacing - Table width follows page.maxContentWidth for consistent block layout Security Controls (opt-in) Security is disabled by default for backward compatibility. Always-on baseline limits (cannot be disabled): Regardless of the security.enabled setting, MdTextParser (and by extension MdTextRender ) enforces two unconditional hard limits to prevent the underlying Markdown parser from crashing the host process: - Absolute length ceiling: Inputs larger than 2 MB (2,000,000 characters) are rejected with a MarkdownParsingLimitError before parsing begins. - Structural nesting","default_branch":null,"files":null,"tree":[],"storefront":"/r/JeelGajera","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JeelGajera/jspdf-md-renderer/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."}