v0.1.4
md2pdf v0.1.4 (Hotfix)
This release addresses an issue where Playwright's Chromium browser dependency was not automatically installed upon a global installation of the package.
Fixes
- Auto-install browser: Added a
postinstallscript to automatically download the required Playwright Chromium binaries (~150MB) when runningnpm install -g @amitdevx/md2pdf. - Dependency guard: The auto-installer will safely skip the download if
md2pdfis installed locally as a project dependency to prevent bloated installations. - CLI UX improvements: If the browser binary is ever missing or deleted, the CLI will now catch the error gracefully and provide a clean, actionable command to fix it, rather than throwing a raw stack trace.
Full Changelog: v0.1.3...v0.1.4