aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/code.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/code.js b/docs/code.js
index 0384eca..3364f6c 100644
--- a/docs/code.js
+++ b/docs/code.js
@@ -23,14 +23,14 @@ const highlight = (elem) => {
.replaceAll(
/^:import std\/(.*) (.*)$/gm,
(_, p, s) =>
- `<span class="com">:import</span> <a href='${fixPath(
+ `<span class="com">:import</span> <a href='/std/${fixPath(
p,
)}.bruijn.html'>std/${p}</a> ${s}`,
)
.replaceAll(
/^:input std\/(.*)$/gm,
(_, p) =>
- `<span class="com">:input</span> <a href='${fixPath(
+ `<span class="com">:input</span> <a href='/std/${fixPath(
p,
)}.bruijn.html'>std/${p}</a>`,
)