@hyperbook/markdown 0.10.0 → 0.10.1
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 +1 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64497,7 +64497,7 @@ var makeNavigationSectionElement = (ctx, section) => {
|
|
|
64497
64497
|
class: [
|
|
64498
64498
|
"collapsible",
|
|
64499
64499
|
"name",
|
|
64500
|
-
ctx.navigation.current?.href
|
|
64500
|
+
ctx.navigation.current?.href?.includes(section.href || "") ? "active" : ""
|
|
64501
64501
|
].join(" ")
|
|
64502
64502
|
},
|
|
64503
64503
|
children: [
|