gutterpress 0.11.6-alpha.1 → 0.11.6-alpha.2

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.
package/dist/api/index.js CHANGED
@@ -124,7 +124,7 @@ import {
124
124
  syncProject,
125
125
  testRemoteAccess,
126
126
  validateProjectExtensions
127
- } from "../index-cwhgq7tq.js";
127
+ } from "../index-nmykzwb4.js";
128
128
  import {
129
129
  BuildError,
130
130
  DEFAULT_PRINT_OPTS,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  executeAndReport
3
- } from "./cli-q696mp75.js";
3
+ } from "./cli-7k2v2sya.js";
4
4
  import {
5
5
  log
6
- } from "./cli-jp97snns.js";
6
+ } from "./cli-wmvvkwcc.js";
7
7
  import {
8
8
  UsageError,
9
9
  rejectExtraPositionals,
10
10
  rejectUnknownFlags
11
- } from "./cli-cghcd60p.js";
11
+ } from "./cli-ersw5g7j.js";
12
12
  import"./cli-sekhwex4.js";
13
13
  import"./cli-c41yr7he.js";
14
14
  import {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runBuild,
3
3
  splitOutPath
4
- } from "./cli-q696mp75.js";
4
+ } from "./cli-7k2v2sya.js";
5
5
  import {
6
6
  log
7
- } from "./cli-jp97snns.js";
7
+ } from "./cli-wmvvkwcc.js";
8
8
  import {
9
9
  UsageError,
10
10
  parseFormat,
11
11
  parsePdfxFlavor,
12
12
  rejectExtraPositionals,
13
13
  rejectUnknownFlags
14
- } from "./cli-cghcd60p.js";
14
+ } from "./cli-ersw5g7j.js";
15
15
  import"./cli-sekhwex4.js";
16
16
  import"./cli-c41yr7he.js";
17
17
  import {
@@ -13,12 +13,12 @@ import {
13
13
  stampCreator,
14
14
  stripAnnotations,
15
15
  warn
16
- } from "./cli-jp97snns.js";
16
+ } from "./cli-wmvvkwcc.js";
17
17
  import {
18
18
  DEBOUNCE,
19
19
  UsageError,
20
20
  resolvePort
21
- } from "./cli-cghcd60p.js";
21
+ } from "./cli-ersw5g7j.js";
22
22
  import {
23
23
  MARGIN_BOX_IGNORED_PROPERTIES,
24
24
  RENDER_TIMEOUT_MS,
@@ -5836,7 +5836,7 @@ async function loadNpmPackage(packageName, baseDir, version) {
5836
5836
  } catch {}
5837
5837
  const looksLikeJsFilename = /\.(m?js|cjs)$/i.test(packageName);
5838
5838
  const suggestedPath = looksLikeJsFilename ? `./${packageName}` : `./plugins/${packageName}.js`;
5839
- throw new Error(`Extension "${packageName}" not found. Install it with \`gutterpress ext add ${packageName}\` (or Project settings > Extensions),
5839
+ throw new Error(`Extension "${packageName}" not found. Install it with \`gutterpress ext add ${packageName}\` (or Book settings > Features > Advanced in the desktop app),
5840
5840
  or reference a local file under \`extensions:\`:
5841
5841
  extensions:
5842
5842
  - ${suggestedPath}`);
@@ -11376,27 +11376,27 @@ var RECOMMENDED_EXTENSIONS = [
11376
11376
  {
11377
11377
  use: "markdown-it-mark",
11378
11378
  label: "Highlight",
11379
- description: "Highlighted text with `==marked==` -> `<mark>`."
11379
+ description: "Highlight text by wrapping it in `==double equals==`."
11380
11380
  },
11381
11381
  {
11382
11382
  use: "markdown-it-sub",
11383
11383
  label: "Subscript",
11384
- description: "Subscript text with `H~2~O`."
11384
+ description: "Lower text below the line, like the 2 in `H~2~O`."
11385
11385
  },
11386
11386
  {
11387
11387
  use: "markdown-it-sup",
11388
11388
  label: "Superscript",
11389
- description: "Superscript text with `29^th^`."
11389
+ description: "Raise text above the line, like the th in `29^th^`."
11390
11390
  },
11391
11391
  {
11392
11392
  use: "markdown-it-abbr",
11393
11393
  label: "Abbreviations",
11394
- description: "Define `*[HTML]: Hyper Text...` and get `<abbr>` tooltips."
11394
+ description: "Explain an abbreviation when readers hover over it. Define it once, like `*[GPS]: Global Positioning System`."
11395
11395
  },
11396
11396
  {
11397
11397
  use: "gutterpress-gfm-alerts",
11398
11398
  label: "Callouts",
11399
- description: "GitHub-style `> [!NOTE]` alert boxes (Note/Tip/Important/Warning/Caution)."
11399
+ description: "Turn a quote into a boxed note: start it with `> [!NOTE]` (or `TIP`, `IMPORTANT`, `WARNING`, `CAUTION`)."
11400
11400
  }
11401
11401
  ];
11402
11402
  var BUILT_IN_STYLE_SET_IDS = ["clean-book", "zine", "technical-doc"];
@@ -4,7 +4,7 @@ import {
4
4
  // package.json
5
5
  var package_default = {
6
6
  name: "gutterpress",
7
- version: "0.11.6-alpha.1",
7
+ version: "0.11.6-alpha.2",
8
8
  description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
9
9
  author: "itlackey",
10
10
  license: "MPL-2.0",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "./cli-cghcd60p.js";
3
+ } from "./cli-ersw5g7j.js";
4
4
  import {
5
5
  execCapture,
6
6
  findTool,
package/dist/cli.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  UsageError,
7
7
  package_default,
8
8
  rejectUnknownFlags
9
- } from "./cli-cghcd60p.js";
9
+ } from "./cli-ersw5g7j.js";
10
10
  import {
11
11
  EXIT_CODES
12
12
  } from "./cli-46ycxe6r.js";
@@ -18,16 +18,16 @@ import {
18
18
  import { defineCommand, parseArgs, runMain } from "citty";
19
19
  import { statSync } from "node:fs";
20
20
  var SUBCOMMANDS = {
21
- new: () => import("./new-s256mmkt.js").then((m) => m.default),
22
- preview: () => import("./preview-j2rvdhg1.js").then((m) => m.default),
23
- build: () => import("./build-sqdahz2j.js").then((m) => m.default),
24
- publish: () => import("./publish-6px5snad.js").then((m) => m.default),
25
- lint: () => import("./lint-t0tj3psc.js").then((m) => m.default),
26
- validate: () => import("./validate-f0m0d2zs.js").then((m) => m.default),
27
- audit: () => import("./audit-bhxh0bbf.js").then((m) => m.default),
28
- preflight: () => import("./preflight-5y10233n.js").then((m) => m.default),
29
- doctor: () => import("./doctor-gj8gtgec.js").then((m) => m.default),
30
- ext: () => import("./ext-xhtta4bh.js").then((m) => m.default)
21
+ new: () => import("./new-nxxx2mv2.js").then((m) => m.default),
22
+ preview: () => import("./preview-j59b5hg3.js").then((m) => m.default),
23
+ build: () => import("./build-2gjr2rj6.js").then((m) => m.default),
24
+ publish: () => import("./publish-mzct8ggw.js").then((m) => m.default),
25
+ lint: () => import("./lint-0pfqbs5r.js").then((m) => m.default),
26
+ validate: () => import("./validate-z2drbha6.js").then((m) => m.default),
27
+ audit: () => import("./audit-fdba6axw.js").then((m) => m.default),
28
+ preflight: () => import("./preflight-g7xjme17.js").then((m) => m.default),
29
+ doctor: () => import("./doctor-vgarhrsg.js").then((m) => m.default),
30
+ ext: () => import("./ext-hb5k5gga.js").then((m) => m.default)
31
31
  };
32
32
  var VERSION = package_default.version;
33
33
  var main = defineCommand({
@@ -52,7 +52,7 @@ async function preflightRequiredInvocations(rawArgs) {
52
52
  const [command, ...commandArgs] = rawArgs;
53
53
  try {
54
54
  if (command === "new") {
55
- const { newArgs } = await import("./new-s256mmkt.js");
55
+ const { newArgs } = await import("./new-nxxx2mv2.js");
56
56
  rejectUnknownFlags(commandArgs, newArgs, "new");
57
57
  const parsed = parseArgs(commandArgs, {
58
58
  ...newArgs,
@@ -64,7 +64,7 @@ async function preflightRequiredInvocations(rawArgs) {
64
64
  return;
65
65
  }
66
66
  if (command === "preflight") {
67
- const { preflightArgs } = await import("./preflight-5y10233n.js");
67
+ const { preflightArgs } = await import("./preflight-g7xjme17.js");
68
68
  rejectUnknownFlags(commandArgs, preflightArgs, "preflight");
69
69
  const parsed = parseArgs(commandArgs, {
70
70
  ...preflightArgs,
@@ -84,7 +84,7 @@ async function preflightRequiredInvocations(rawArgs) {
84
84
  }
85
85
  if (subcommand.startsWith("-"))
86
86
  return;
87
- const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-xhtta4bh.js");
87
+ const { EXT_SUBCOMMANDS, extAddArgs, extRemoveArgs, extEnableArgs, extDisableArgs } = await import("./ext-hb5k5gga.js");
88
88
  if (!EXT_SUBCOMMANDS.includes(subcommand)) {
89
89
  throw new UsageError(`gutterpress ext: unknown command "${subcommand}"`);
90
90
  }
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  getSystemDiagnostics,
3
3
  log
4
- } from "./cli-jp97snns.js";
4
+ } from "./cli-wmvvkwcc.js";
5
5
  import {
6
6
  UsageError,
7
7
  rejectExtraPositionals,
8
8
  rejectUnknownFlags
9
- } from "./cli-cghcd60p.js";
9
+ } from "./cli-ersw5g7j.js";
10
10
  import"./cli-c41yr7he.js";
11
11
  import"./cli-46ycxe6r.js";
12
12
  import"./cli-37x76zdn.js";
@@ -10,15 +10,15 @@ import {
10
10
  removeExtension,
11
11
  searchNpmExtensions,
12
12
  setExtensionEnabled
13
- } from "./cli-q696mp75.js";
14
- import"./cli-jp97snns.js";
13
+ } from "./cli-7k2v2sya.js";
14
+ import"./cli-wmvvkwcc.js";
15
15
  import {
16
16
  UsageError,
17
17
  exitForUsage,
18
18
  rejectExtraPositionals,
19
19
  rejectUnknownFlags,
20
20
  resolveProjectDir
21
- } from "./cli-cghcd60p.js";
21
+ } from "./cli-ersw5g7j.js";
22
22
  import"./cli-sekhwex4.js";
23
23
  import"./cli-c41yr7he.js";
24
24
  import {
@@ -4338,7 +4338,7 @@ async function loadNpmPackage(packageName, baseDir, version) {
4338
4338
  } catch {}
4339
4339
  const looksLikeJsFilename = /\.(m?js|cjs)$/i.test(packageName);
4340
4340
  const suggestedPath = looksLikeJsFilename ? `./${packageName}` : `./plugins/${packageName}.js`;
4341
- throw new Error(`Extension "${packageName}" not found. Install it with \`gutterpress ext add ${packageName}\` (or Project settings > Extensions),
4341
+ throw new Error(`Extension "${packageName}" not found. Install it with \`gutterpress ext add ${packageName}\` (or Book settings > Features > Advanced in the desktop app),
4342
4342
  or reference a local file under \`extensions:\`:
4343
4343
  extensions:
4344
4344
  - ${suggestedPath}`);
@@ -4875,7 +4875,7 @@ import git from "isomorphic-git";
4875
4875
  // package.json
4876
4876
  var package_default = {
4877
4877
  name: "gutterpress",
4878
- version: "0.11.6-alpha.1",
4878
+ version: "0.11.6-alpha.2",
4879
4879
  description: "Markdown-to-PDF converter for professional print layout using a native Chromium print engine and Ghostscript.",
4880
4880
  author: "itlackey",
4881
4881
  license: "MPL-2.0",
@@ -12433,27 +12433,27 @@ var RECOMMENDED_EXTENSIONS = [
12433
12433
  {
12434
12434
  use: "markdown-it-mark",
12435
12435
  label: "Highlight",
12436
- description: "Highlighted text with `==marked==` -> `<mark>`."
12436
+ description: "Highlight text by wrapping it in `==double equals==`."
12437
12437
  },
12438
12438
  {
12439
12439
  use: "markdown-it-sub",
12440
12440
  label: "Subscript",
12441
- description: "Subscript text with `H~2~O`."
12441
+ description: "Lower text below the line, like the 2 in `H~2~O`."
12442
12442
  },
12443
12443
  {
12444
12444
  use: "markdown-it-sup",
12445
12445
  label: "Superscript",
12446
- description: "Superscript text with `29^th^`."
12446
+ description: "Raise text above the line, like the th in `29^th^`."
12447
12447
  },
12448
12448
  {
12449
12449
  use: "markdown-it-abbr",
12450
12450
  label: "Abbreviations",
12451
- description: "Define `*[HTML]: Hyper Text...` and get `<abbr>` tooltips."
12451
+ description: "Explain an abbreviation when readers hover over it. Define it once, like `*[GPS]: Global Positioning System`."
12452
12452
  },
12453
12453
  {
12454
12454
  use: "gutterpress-gfm-alerts",
12455
12455
  label: "Callouts",
12456
- description: "GitHub-style `> [!NOTE]` alert boxes (Note/Tip/Important/Warning/Caution)."
12456
+ description: "Turn a quote into a boxed note: start it with `> [!NOTE]` (or `TIP`, `IMPORTANT`, `WARNING`, `CAUTION`)."
12457
12457
  }
12458
12458
  ];
12459
12459
  var BUILT_IN_STYLE_SET_IDS = ["clean-book", "zine", "technical-doc"];
package/dist/index.js CHANGED
@@ -143,7 +143,7 @@ import {
143
143
  syncProject,
144
144
  testRemoteAccess,
145
145
  validateProjectExtensions
146
- } from "./index-cwhgq7tq.js";
146
+ } from "./index-nmykzwb4.js";
147
147
  import {
148
148
  BUILD_DIAGNOSTIC_CODES
149
149
  } from "./index-12pvhbyz.js";
@@ -60,7 +60,9 @@ export interface RecommendedExtension {
60
60
  use: string;
61
61
  /** Short, plain-language feature name shown as the row title. */
62
62
  label: string;
63
- /** One-line author-friendly description. */
63
+ /** One-line author-friendly description in plain words. Backtick spans mark
64
+ * "what to type" (the desktop sets them in code type), so keep them paired
65
+ * and keep HTML tag names out of the prose. */
64
66
  description: string;
65
67
  }
66
68
  /**
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  MANIFEST_FILENAMES,
3
3
  runLint
4
- } from "./cli-q696mp75.js";
4
+ } from "./cli-7k2v2sya.js";
5
5
  import {
6
6
  log
7
- } from "./cli-jp97snns.js";
7
+ } from "./cli-wmvvkwcc.js";
8
8
  import {
9
9
  UsageError,
10
10
  rejectExtraPositionals,
11
11
  rejectUnknownFlags
12
- } from "./cli-cghcd60p.js";
12
+ } from "./cli-ersw5g7j.js";
13
13
  import"./cli-sekhwex4.js";
14
14
  import"./cli-c41yr7he.js";
15
15
  import {
@@ -7,15 +7,15 @@ import {
7
7
  TARGET_IDS,
8
8
  scaffoldExtension,
9
9
  scaffoldProject
10
- } from "./cli-q696mp75.js";
10
+ } from "./cli-7k2v2sya.js";
11
11
  import {
12
12
  resolveGhostscript
13
- } from "./cli-jp97snns.js";
13
+ } from "./cli-wmvvkwcc.js";
14
14
  import {
15
15
  UsageError,
16
16
  rejectExtraPositionals,
17
17
  rejectUnknownFlags
18
- } from "./cli-cghcd60p.js";
18
+ } from "./cli-ersw5g7j.js";
19
19
  import"./cli-sekhwex4.js";
20
20
  import {
21
21
  isToolAvailable
@@ -2,15 +2,15 @@ import {
2
2
  executeValidation,
3
3
  publishTargetFor,
4
4
  reportMissingTools
5
- } from "./cli-q696mp75.js";
5
+ } from "./cli-7k2v2sya.js";
6
6
  import {
7
7
  log
8
- } from "./cli-jp97snns.js";
8
+ } from "./cli-wmvvkwcc.js";
9
9
  import {
10
10
  UsageError,
11
11
  rejectExtraPositionals,
12
12
  rejectUnknownFlags
13
- } from "./cli-cghcd60p.js";
13
+ } from "./cli-ersw5g7j.js";
14
14
  import"./cli-sekhwex4.js";
15
15
  import"./cli-c41yr7he.js";
16
16
  import {
@@ -6,10 +6,10 @@ import {
6
6
  runBuild,
7
7
  splitOutPath,
8
8
  startPreviewServer
9
- } from "./cli-q696mp75.js";
9
+ } from "./cli-7k2v2sya.js";
10
10
  import {
11
11
  log
12
- } from "./cli-jp97snns.js";
12
+ } from "./cli-wmvvkwcc.js";
13
13
  import {
14
14
  UsageError,
15
15
  parseFormat,
@@ -17,7 +17,7 @@ import {
17
17
  rejectExtraPositionals,
18
18
  rejectUnknownFlags,
19
19
  resolvePort
20
- } from "./cli-cghcd60p.js";
20
+ } from "./cli-ersw5g7j.js";
21
21
  import"./cli-sekhwex4.js";
22
22
  import"./cli-c41yr7he.js";
23
23
  import {
@@ -11,16 +11,16 @@ import {
11
11
  publishProviderFor,
12
12
  resolvePublishFormat,
13
13
  runPublish
14
- } from "./cli-q696mp75.js";
14
+ } from "./cli-7k2v2sya.js";
15
15
  import {
16
16
  FileTokenStore,
17
17
  log
18
- } from "./cli-jp97snns.js";
18
+ } from "./cli-wmvvkwcc.js";
19
19
  import {
20
20
  UsageError,
21
21
  rejectExtraPositionals,
22
22
  rejectUnknownFlags
23
- } from "./cli-cghcd60p.js";
23
+ } from "./cli-ersw5g7j.js";
24
24
  import"./cli-sekhwex4.js";
25
25
  import"./cli-c41yr7he.js";
26
26
  import {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  executeAndReport
3
- } from "./cli-q696mp75.js";
3
+ } from "./cli-7k2v2sya.js";
4
4
  import {
5
5
  log
6
- } from "./cli-jp97snns.js";
6
+ } from "./cli-wmvvkwcc.js";
7
7
  import {
8
8
  UsageError,
9
9
  rejectExtraPositionals,
10
10
  rejectUnknownFlags
11
- } from "./cli-cghcd60p.js";
11
+ } from "./cli-ersw5g7j.js";
12
12
  import"./cli-sekhwex4.js";
13
13
  import"./cli-c41yr7he.js";
14
14
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gutterpress",
3
- "version": "0.11.6-alpha.1",
3
+ "version": "0.11.6-alpha.2",
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",