@bendyline/squisq 2.11.1 → 2.11.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/{chunk-QQ4I5HWV.js → chunk-56MJWI5M.js} +1 -1
- package/dist/{chunk-UXKFSYTQ.js → chunk-QWN5CLCP.js} +1 -1
- package/dist/{chunk-B26DU2RH.js → chunk-RO7WVERN.js} +4 -2
- package/dist/doc/index.js +2 -2
- package/dist/index.js +3 -3
- package/dist/narration/index.js +2 -2
- package/package.json +1 -1
|
@@ -1513,9 +1513,11 @@ function renderMarkdownBlocksHtml(nodes) {
|
|
|
1513
1513
|
return "<hr>";
|
|
1514
1514
|
case "table": {
|
|
1515
1515
|
const [head, ...body] = node.children;
|
|
1516
|
-
const row = (cells, header) => `<tr>${cells.map((cell) => {
|
|
1516
|
+
const row = (cells, header) => `<tr>${cells.map((cell, columnIndex) => {
|
|
1517
1517
|
const tag = header ? "th" : "td";
|
|
1518
|
-
|
|
1518
|
+
const alignment = node.align?.[columnIndex];
|
|
1519
|
+
const alignAttribute = alignment ? ` align="${alignment}"` : "";
|
|
1520
|
+
return `<${tag}${alignAttribute}>${renderInlineHtml(cell.children)}</${tag}>`;
|
|
1519
1521
|
}).join("")}</tr>`;
|
|
1520
1522
|
const thead = head ? `<thead>${row(head.children, true)}</thead>` : "";
|
|
1521
1523
|
const tbody = body.length ? `<tbody>${body.map((item) => row(item.children, false)).join("")}</tbody>` : "";
|
package/dist/doc/index.js
CHANGED
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
validateMarkdownDoc,
|
|
71
71
|
validateMarkdownSource,
|
|
72
72
|
writeDashboardLayoutsToFrontmatter
|
|
73
|
-
} from "../chunk-
|
|
73
|
+
} from "../chunk-56MJWI5M.js";
|
|
74
74
|
import {
|
|
75
75
|
ASCII_CHAR_H,
|
|
76
76
|
ASCII_CHAR_W,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
wrapWithPersistentLayers,
|
|
193
193
|
writeCustomTemplatesToFrontmatter,
|
|
194
194
|
writeCustomThemesToFrontmatter
|
|
195
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-RO7WVERN.js";
|
|
196
196
|
import {
|
|
197
197
|
PATH_SHAPE_KINDS,
|
|
198
198
|
anchorPoint,
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QWN5CLCP.js";
|
|
31
31
|
import {
|
|
32
32
|
fenceRendererLangs
|
|
33
33
|
} from "./chunk-PGI7HSWE.js";
|
|
@@ -227,7 +227,7 @@ import {
|
|
|
227
227
|
validateMarkdownDoc,
|
|
228
228
|
validateMarkdownSource,
|
|
229
229
|
writeDashboardLayoutsToFrontmatter
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-56MJWI5M.js";
|
|
231
231
|
import {
|
|
232
232
|
ASCII_CHAR_H,
|
|
233
233
|
ASCII_CHAR_W,
|
|
@@ -357,7 +357,7 @@ import {
|
|
|
357
357
|
wrapWithPersistentLayers,
|
|
358
358
|
writeCustomTemplatesToFrontmatter,
|
|
359
359
|
writeCustomThemesToFrontmatter
|
|
360
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-RO7WVERN.js";
|
|
361
361
|
import {
|
|
362
362
|
PATH_SHAPE_KINDS,
|
|
363
363
|
anchorPoint,
|
package/dist/narration/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
recordSlideShown,
|
|
28
28
|
traceWordPosAt,
|
|
29
29
|
vadStep
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-QWN5CLCP.js";
|
|
31
31
|
import {
|
|
32
32
|
buildNarrationScript,
|
|
33
33
|
buildNarrationTimingJson,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
wordIndexAtChar,
|
|
38
38
|
wordIndexAtTime,
|
|
39
39
|
wordPosAtExpectedSyllables
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-RO7WVERN.js";
|
|
41
41
|
import "../chunk-PUS54YU6.js";
|
|
42
42
|
import "../chunk-6ATZOUCQ.js";
|
|
43
43
|
import "../chunk-SBAX4ZPO.js";
|