@hyperbook/markdown 0.24.3 → 0.24.5
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.
|
@@ -215,7 +215,6 @@ hyperbook.python = (function () {
|
|
|
215
215
|
const testCode = test.code.replace("#SCRIPT#", script);
|
|
216
216
|
|
|
217
217
|
const heading = document.createElement("div");
|
|
218
|
-
console.log(test);
|
|
219
218
|
heading.innerHTML = `== Test ${test.name} ==`;
|
|
220
219
|
heading.classList.add("test-heading");
|
|
221
220
|
output.appendChild(heading);
|
package/dist/index.js
CHANGED
|
@@ -66705,7 +66705,6 @@ var remarkDirectiveCollapsible_default = (ctx) => () => {
|
|
|
66705
66705
|
for (const child of node3.children) {
|
|
66706
66706
|
collapsibleContent.push(await remark(ctx).run(child));
|
|
66707
66707
|
}
|
|
66708
|
-
console.log(collapsibleContent);
|
|
66709
66708
|
data.hChildren = [
|
|
66710
66709
|
{
|
|
66711
66710
|
type: "element",
|
|
@@ -73477,6 +73476,7 @@ var remarkCollectSearchDocuments_default = (ctx) => () => {
|
|
|
73477
73476
|
const startIndex = index2;
|
|
73478
73477
|
const depth = start.depth;
|
|
73479
73478
|
const isEnd = (node4) => node4.type === "heading" && node4.depth <= depth || node4.type === "export";
|
|
73479
|
+
if (!parent) return;
|
|
73480
73480
|
const end = findAfter(parent, start, isEnd);
|
|
73481
73481
|
const endIndex = parent.children.indexOf(end);
|
|
73482
73482
|
const between = parent.children.slice(
|