@readme/markdown 6.39.1 → 6.39.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/main.js +4 -3
- package/dist/main.node.js +4 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -28277,9 +28277,10 @@ module.exports = function TableCompiler() {
|
|
|
28277
28277
|
}
|
|
28278
28278
|
|
|
28279
28279
|
var data = {
|
|
28280
|
-
|
|
28280
|
+
data: {},
|
|
28281
28281
|
cols: ((_node$children$ = node.children[0]) === null || _node$children$ === void 0 ? void 0 : (_node$children$$child = _node$children$.children) === null || _node$children$$child === void 0 ? void 0 : _node$children$$child.length) || 0,
|
|
28282
|
-
rows: node.children.length
|
|
28282
|
+
rows: node.children.length - 1,
|
|
28283
|
+
align: _toConsumableArray(node.align)
|
|
28283
28284
|
};
|
|
28284
28285
|
node.children.forEach(function (row, i) {
|
|
28285
28286
|
row.children.forEach(function (cell, j) {
|
|
@@ -28287,7 +28288,7 @@ module.exports = function TableCompiler() {
|
|
|
28287
28288
|
|
|
28288
28289
|
var string = _this.all(cell).join('').replace(/\\\n/g, ' \n');
|
|
28289
28290
|
|
|
28290
|
-
data["".concat(col, "-").concat(j)] = string;
|
|
28291
|
+
data.data["".concat(col, "-").concat(j)] = string;
|
|
28291
28292
|
});
|
|
28292
28293
|
});
|
|
28293
28294
|
return "[block:parameters]\n".concat(JSON.stringify(data, null, 2), "\n[/block]");
|
package/dist/main.node.js
CHANGED
|
@@ -11100,9 +11100,10 @@ module.exports = function TableCompiler() {
|
|
|
11100
11100
|
}
|
|
11101
11101
|
|
|
11102
11102
|
var data = {
|
|
11103
|
-
|
|
11103
|
+
data: {},
|
|
11104
11104
|
cols: ((_node$children$ = node.children[0]) === null || _node$children$ === void 0 ? void 0 : (_node$children$$child = _node$children$.children) === null || _node$children$$child === void 0 ? void 0 : _node$children$$child.length) || 0,
|
|
11105
|
-
rows: node.children.length
|
|
11105
|
+
rows: node.children.length - 1,
|
|
11106
|
+
align: _toConsumableArray(node.align)
|
|
11106
11107
|
};
|
|
11107
11108
|
node.children.forEach(function (row, i) {
|
|
11108
11109
|
row.children.forEach(function (cell, j) {
|
|
@@ -11110,7 +11111,7 @@ module.exports = function TableCompiler() {
|
|
|
11110
11111
|
|
|
11111
11112
|
var string = _this.all(cell).join('').replace(/\\\n/g, ' \n');
|
|
11112
11113
|
|
|
11113
|
-
data["".concat(col, "-").concat(j)] = string;
|
|
11114
|
+
data.data["".concat(col, "-").concat(j)] = string;
|
|
11114
11115
|
});
|
|
11115
11116
|
});
|
|
11116
11117
|
return "[block:parameters]\n".concat(JSON.stringify(data, null, 2), "\n[/block]");
|
package/package.json
CHANGED