mirror of
https://github.com/garrytan/gstack.git
synced 2026-06-17 15:20:11 +02:00
feat(make-pdf): --to html|docx output formats
--to html writes the assembled self-contained document directly (no print round-trip): inline vector diagrams, data-URI images, zero network references, plus an @media screen layer for browser reading. --to docx is the content-fidelity export (eng-review P8): html-to-docx@1.8.0 (exact pin; pure JS, bun-compile-verified) maps headings/tables/code/lists; diagrams and SVG images rasterize at 300dpi of the content-box width via the render tab; diagnostic figures convert to plain p/pre so the converter can't silently drop an error. --format keeps its page-size-alias meaning; --to is the output format, and the CLI says so when confused. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
"@huggingface/transformers": "^4.1.0",
|
||||
"@ngrok/ngrok": "^1.7.0",
|
||||
"diff": "^7.0.0",
|
||||
"html-to-docx": "1.8.0",
|
||||
"marked": "^18.0.2",
|
||||
"playwright": "^1.58.2",
|
||||
"puppeteer-core": "^24.40.0",
|
||||
|
||||
Reference in New Issue
Block a user