joplock/scripts
igor f084a11a99 Add single-file HTML export, image/link inlining for exports, and visible table gridlines for PDF/DOCX
- New POST /api/export/html: single self-contained HTML file with the
  active theme's CSS inlined, images/attachments as base64 data URIs,
  and heading/link colors matching the TinyMCE rendered-mode view
- CSS extraction helper (extractCssBlocks) pulls theme + .editor-preview
  rules out of styles.css via a brace-depth scanner
- New inlineResourceLinks helper: attachment links become data: URIs
  with a download attribute instead of dead /resources/ hrefs
- PDF table borders bumped to visible 1px/2px lines; fixed pandoc's
  default HTML template CSS (50px body padding) leaking into PDF output
  via --include-in-header
- Regenerated public/reference.docx with a patched Table style (visible
  gridlines) via new scripts/build-reference-docx.sh
- Client: exportNoteAsHtml now posts to the server instead of building
  an unstyled client-side doc; sends current theme slug
- Bumped service worker cache to v54-20260715htmlexport
- Added tests: extractCssBlocks, inlineResourceLinks, handleExportHtml
2026-07-15 14:34:11 +12:00
..
build-reference-docx.sh Add single-file HTML export, image/link inlining for exports, and visible table gridlines for PDF/DOCX 2026-07-15 14:34:11 +12:00
generatePwaAssets.mjs fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00
rebuild-dev.sh fix mobile resume startup and editor targeting 2026-04-25 20:51:37 +12:00