diff --git a/docs/render/recipe.css b/docs/render/recipe.css index 0e16b6a..598ab3c 100644 --- a/docs/render/recipe.css +++ b/docs/render/recipe.css @@ -46,6 +46,7 @@ body { /* padding:0 0.3em; */ /* border:1px solid currentColor; */ text-decoration:underline; + text-decoration-style: dotted; } img.publisher { diff --git a/docs/render/recipe.js b/docs/render/recipe.js index 66ae54c..1a664dc 100644 --- a/docs/render/recipe.js +++ b/docs/render/recipe.js @@ -139,6 +139,7 @@ function highlightStep(e) { // el.classList.toggle("complete", ) // } if (e.target.classList.contains("noun")) return; + if (e.target.tagName == "A") return; e.target.closest("li").classList.toggle("complete") } @@ -190,6 +191,7 @@ function render() { console.error("Data", e, {e, body: window.params.body}); return; } + document.head.appendChild(el("base", {target: "_blank"})); delete document.documentElement.style.display; document.body.childNodes.forEach((c) => document.body.removeChild(c))