@hyperbook/markdown 0.42.2 → 0.43.0

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.js CHANGED
@@ -62794,7 +62794,7 @@ window.Prism.manual = true;`
62794
62794
  tagName: "link",
62795
62795
  properties: {
62796
62796
  rel: "stylesheet",
62797
- href: style3.includes("://") ? style3 : makeUrl(style3, "public")
62797
+ href: style3.includes("://") ? style3 : makeUrl(style3, "public", currentPage || void 0)
62798
62798
  },
62799
62799
  children: []
62800
62800
  })
@@ -62907,7 +62907,7 @@ HYPERBOOK_ASSETS = "${makeUrl("/", "assets")}"
62907
62907
  type: "element",
62908
62908
  tagName: "script",
62909
62909
  properties: {
62910
- src: script.includes("://") ? script : makeUrl(script, "public"),
62910
+ src: script.includes("://") ? script : makeUrl(script, "public", currentPage || void 0),
62911
62911
  defer: true
62912
62912
  },
62913
62913
  children: []
@@ -63615,7 +63615,7 @@ var makeHeaderElements = (ctx) => {
63615
63615
  };
63616
63616
  var makeJump = (ctx) => {
63617
63617
  const elements = [];
63618
- if (ctx.navigation.previous && !ctx.navigation.previous.hide) {
63618
+ if (ctx.navigation.previous) {
63619
63619
  elements.push({
63620
63620
  type: "element",
63621
63621
  tagName: "a",
@@ -63631,7 +63631,7 @@ var makeJump = (ctx) => {
63631
63631
  ]
63632
63632
  });
63633
63633
  }
63634
- if (ctx.navigation.next && !ctx.navigation.next.hide) {
63634
+ if (ctx.navigation.next) {
63635
63635
  elements.push({
63636
63636
  type: "element",
63637
63637
  tagName: "a",