gutterpress 0.11.16 → 0.11.17-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/{build-8epzrj8g.js → build-jfjzam95.js} +4 -4
  3. package/dist/{cli-0prrt9e4.js → cli-0754wskb.js} +1 -1
  4. package/dist/{cli-ev175hx9.js → cli-ew3gc4nt.js} +138 -93
  5. package/dist/{cli-wqy8hnnh.js → cli-xx5bryh6.js} +7 -5
  6. package/dist/{cli-182j48xc.js → cli-zce1zcqc.js} +1 -1
  7. package/dist/cli.js +12 -12
  8. package/dist/{doctor-24mbx7y1.js → doctor-h01f71ws.js} +2 -2
  9. package/dist/engine/shared/synthesis.d.ts +8 -0
  10. package/dist/{engine-w17dbt4f.js → engine-aaam2nz3.js} +2 -2
  11. package/dist/{engine-j5h953pg.js → engine-rhmwgk9k.js} +1 -1
  12. package/dist/{ext-p9gx5aac.js → ext-ja4hy1c2.js} +4 -4
  13. package/dist/{gutterpress-viewer-swz6bwfa.js → gutterpress-viewer-5a6h4evk.js} +46 -5
  14. package/dist/{index-qep93v0z.js → index-3nk5mnn6.js} +7 -5
  15. package/dist/{index-ee7wp8q3.js → index-dmm31ys3.js} +1 -1
  16. package/dist/{index-40achhs8.js → index-r9t4acx5.js} +137 -90
  17. package/dist/index.js +3 -3
  18. package/dist/lib/markdown/assemble.d.ts +10 -0
  19. package/dist/lib/markdown/index.d.ts +10 -0
  20. package/dist/lib/static-serve.d.ts +6 -0
  21. package/dist/{new-wsjsrm7w.js → new-yzswp0ge.js} +4 -4
  22. package/dist/{preflight-0fjjnk9e.js → preflight-0s1vw6y1.js} +4 -4
  23. package/dist/preview/file-watcher.d.ts +5 -1
  24. package/dist/preview/server-context.d.ts +10 -0
  25. package/dist/{preview-azy06gw0.js → preview-tam7azsr.js} +4 -4
  26. package/dist/{publish-8db67m2h.js → publish-ra8kyf0z.js} +4 -4
  27. package/dist/render.js +2 -1
  28. package/dist/{validate-e7mw1xyd.js → validate-n9vae7p8.js} +4 -4
  29. package/package.json +1 -1
package/dist/render.js CHANGED
@@ -2134,8 +2134,9 @@ ${projectCss.trim()}` : null
2134
2134
  `);
2135
2135
  const preloadTags = (opts.preloadImages ?? []).map((href) => `
2136
2136
  <link rel="preload" as="image" href="${href}">`).join("");
2137
+ const printAttrs = (opts.print?.signature && opts.print.signature > 1 ? ` data-gp-signature="${opts.print.signature}"` : "") + (opts.print?.reserveLastPage ? " data-gp-reserve-last-page" : "");
2137
2138
  return `<!DOCTYPE html>
2138
- <html lang="en">
2139
+ <html lang="en"${printAttrs}>
2139
2140
  <head>
2140
2141
  <meta charset="UTF-8">
2141
2142
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  executeAndReport
3
- } from "./cli-ev175hx9.js";
3
+ } from "./cli-ew3gc4nt.js";
4
4
  import {
5
5
  log
6
- } from "./cli-0prrt9e4.js";
6
+ } from "./cli-0754wskb.js";
7
7
  import {
8
8
  UsageError,
9
9
  rejectExtraPositionals,
10
10
  rejectUnknownFlags
11
- } from "./cli-182j48xc.js";
12
- import"./cli-wqy8hnnh.js";
11
+ } from "./cli-zce1zcqc.js";
12
+ import"./cli-xx5bryh6.js";
13
13
  import {
14
14
  BuildError,
15
15
  EXIT_CODES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gutterpress",
3
- "version": "0.11.16",
3
+ "version": "0.11.17-alpha.1",
4
4
  "description": "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
5
5
  "author": "itlackey",
6
6
  "license": "MPL-2.0",