vantage-md 0.5.7 → 0.5.8

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/index.cjs CHANGED
@@ -47,6 +47,15 @@ let yaml = require("yaml");
47
47
  yaml = __toESM(yaml, 1);
48
48
  let smol_toml = require("smol-toml");
49
49
  //#region src/rehypeSourceLines.ts
50
+ /**
51
+ * Tags that get a `data-source-line`.
52
+ *
53
+ * `td`/`th` are here for review mode: a comment anchors to the cell it was
54
+ * written on, so the cell needs a line of its own to be found again. Every cell
55
+ * in a row reports the *row's* start line — a GFM row is one source line — so a
56
+ * line no longer names at most one anchorable element, and whatever resolves an
57
+ * anchor has to break the tie by block hash (`useReviewHighlights`).
58
+ */
50
59
  const BLOCK_TAGS = /* @__PURE__ */ new Set([
51
60
  "p",
52
61
  "h1",
@@ -59,6 +68,8 @@ const BLOCK_TAGS = /* @__PURE__ */ new Set([
59
68
  "blockquote",
60
69
  "pre",
61
70
  "table",
71
+ "td",
72
+ "th",
62
73
  "tr",
63
74
  "ul",
64
75
  "ol",