@dogsbay/ssg-cli 0.2.0-beta.182 → 0.2.0-beta.186

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.
@@ -40,14 +40,16 @@ import {
40
40
  uniqueSort,
41
41
  unitOfPath,
42
42
  versionsOf
43
- } from "./chunk-E3FODT5J.mjs";
43
+ } from "./chunk-TRECVC6H.mjs";
44
+ import {
45
+ slugFromPath
46
+ } from "./chunk-AOHGXC4D.mjs";
44
47
  import {
45
48
  checkFrontmatter,
46
49
  detectLeadingNodes,
47
50
  extractFirstParagraph,
48
- frontmatterKeyLines,
49
- slugFromPath
50
- } from "./chunk-IERF2DNL.mjs";
51
+ frontmatterKeyLines
52
+ } from "./chunk-YA6TJOAM.mjs";
51
53
  import {
52
54
  __commonJS,
53
55
  __export,
@@ -31897,7 +31899,7 @@ function walkInline(nodes, visit) {
31897
31899
  walkInline(node.children, visit);
31898
31900
  } else if (node.type === "image" && typeof node.src === "string") {
31899
31901
  visit(node.src, "image");
31900
- } else if (node.type === "highlight" && node.children) {
31902
+ } else if ((node.type === "highlight" || node.type === "when") && node.children) {
31901
31903
  walkInline(node.children, visit);
31902
31904
  }
31903
31905
  }
@@ -43493,7 +43495,7 @@ function collectInline(nodes, visit) {
43493
43495
  collectInline(node.children, visit);
43494
43496
  } else if (node.type === "image" && typeof node.src === "string") {
43495
43497
  visit(node.src, "image");
43496
- } else if (node.type === "highlight" && node.children) {
43498
+ } else if ((node.type === "highlight" || node.type === "when") && node.children) {
43497
43499
  collectInline(node.children, visit);
43498
43500
  }
43499
43501
  }