asciidoc-abundant-tree 0.2.1 → 0.2.3

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/README.md CHANGED
@@ -295,7 +295,7 @@ const book = await parseAbundantTree({
295
295
  });
296
296
  ```
297
297
 
298
- `attributes` are the include attributes as Asciidoctor parses them, the same an Asciidoctor include processor receives, so the bookshelf build and this parser can register the same selector. A resolver that throws fails construction with `include.resolver-failed`; returned text that does not match its source leaves those lines without coordinates and reports `origin-map.selection-mismatch`.
298
+ `attributes` are the include attributes as Asciidoctor parses them, the same an Asciidoctor include processor receives, so the bookshelf build and this parser can register the same selector. A blank positional attribute is `null`: the first one in `[,beta]`, the second one in `[beta,,gamma]`. A resolver that throws fails construction with `include.resolver-failed`; returned text that does not match its source leaves those lines without coordinates and reports `origin-map.selection-mismatch`.
299
299
 
300
300
  `parseAbundantTree` reads only the supplied source file. Interdocument xrefs keep their raw target and official href when Asciidoctor exposes one, but this package does not open the referenced `.adoc` file.
301
301
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { o as exportAnimationYaml } from "../src-DMOLXZbF.mjs";
2
+ import { o as exportAnimationYaml } from "../src-DuMegO5s.mjs";
3
3
  import process from "node:process";
4
4
  //#region src/animation-yaml-export/cli.ts
5
5
  const USAGE = `Usage:
@@ -154,7 +154,7 @@ type XrefOccurrenceNode = NodeBase & {
154
154
  };
155
155
  type AnchorOccurrenceNode = NodeBase & {
156
156
  kind: "anchor";
157
- syntax: "double-bracket" | "macro";
157
+ syntax: "double-bracket" | "macro" | "bibliography";
158
158
  raw: string;
159
159
  ids: string[];
160
160
  reftext?: string;
@@ -179,6 +179,7 @@ type TargetNode = NodeBase & {
179
179
  title?: string;
180
180
  idOrigin: "source" | "asciidoctor-generated" | "unknown";
181
181
  sourceSpan?: SourceSpan;
182
+ containingSectionId?: string;
182
183
  };
183
184
  type TextNode = NodeBase & {
184
185
  kind: "text";