← Commit history

readme.html: the two page references in the adom-table section as code, not links

Ray ·76a5e22453 · ·parent 4befb01
The readme renders in a sandboxed iframe; every other reference on this page is text, and an outbound <a> there either navigates inside the frame or is blocked outright. Neither is worth it for two page names.
1 file changed +2−2
readme.html+2−2
@@ -208,7 +208,7 @@ h2 .anchor:hover{opacity:1;color:var(--teal)}   <section>     <div class="eyebrow">The generic one — registered wiki-wide</div>     <h2 id="table">Table <span class="tag">&lt;adom-table&gt;</span> <span class="new">new</span><a class="anchor" href="#table" aria-label="direct link">#</a></h2>-    <p class="sub">Any JSON array as a filterable, sortable, facetable table. Not component-specific and not on the <code>lbr-hover</code> bus — and unlike the widgets above it ships with the <code>adom-widget</code> runtime <b>bundled in</b>, because the wiki's widget frame loads exactly one script. It is registered in <a href="/adom/widgets">adom/widgets</a>, so any page can write the tag in plain markdown instead of hosting the script.</p>+    <p class="sub">Any JSON array as a filterable, sortable, facetable table. Not component-specific and not on the <code>lbr-hover</code> bus — and unlike the widgets above it ships with the <code>adom-widget</code> runtime <b>bundled in</b>, because the wiki's widget frame loads exactly one script. It is registered in <code>adom/widgets</code>, so any page can write the tag in plain markdown instead of hosting the script.</p>     <pre><code><span class="tok-com">&#8250; in any README.md, on its own line</span> <span class="tok-tag">::adom-table</span>{<span class="tok-attr">src</span>=<span class="tok-str">"/OWNER/SLUG/render/data.json"</span> <span class="tok-attr">columns</span>=<span class="tok-str">"repo,owner,policy"</span> <span class="tok-attr">facet</span>=<span class="tok-str">"owner"</span>}</code></pre>     <div class="refgrid">@@ -219,7 +219,7 @@ h2 .anchor:hover{opacity:1;color:var(--teal)}       </div>       <div class="refcard">         <h3>On a private page, host it instead</h3>-        <p>The tag's frame is an opaque origin, so its <code>src</code> fetch carries no session: it 404s and the table renders empty with no error anywhere. Feed the widget inline JSON from a page section instead. See adom/wiki#166; <a href="/adom/repo-ownership">adom/repo-ownership</a> is a working host.</p>+        <p>The tag's frame is an opaque origin, so its <code>src</code> fetch carries no session: it 404s and the table renders empty with no error anywhere. Feed the widget inline JSON from a page section instead. See adom/wiki#166; <code>adom/repo-ownership</code> is a working host.</p>         <span class="pill">adom/wiki#166</span>       </div>     </div>