asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
60
archive/examples-legacy/vault/wikilinks.html
Normal file
60
archive/examples-legacy/vault/wikilinks.html
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!--#include virtual="/_include/head.html" -->
|
||||
<title>Wikilinks — ASW Examples</title>
|
||||
<meta name="description" content="data-wikilink, data-tag, data-hash —
|
||||
vault reference vocabulary for exported notes">
|
||||
</head>
|
||||
<body>
|
||||
<!--#include virtual="/_include/nav.html" -->
|
||||
|
||||
<main>
|
||||
<header>
|
||||
<h1>Wikilinks</h1>
|
||||
<p data-text="lead">data-wikilink, data-tag, data-hash — vault
|
||||
reference vocabulary for exported notes</p>
|
||||
</header>
|
||||
|
||||
<p>Three inline reference types from the vault: wikilinks (cross-note
|
||||
links), tags (topic labels), git hashes (provenance anchors).</p>
|
||||
<h2 id="wikilinks">Wikilinks</h2>
|
||||
<p>Write <code>[[Note Name]]</code> in markdown — the pandoc pack
|
||||
converts it to <code>data-wikilink</code> automatically.</p>
|
||||
<p><a data-wikilink href="#session-protocol">Session Protocol</a> ·
|
||||
<a data-wikilink href="#wikilinks">Wikilink reference</a> ·
|
||||
<a data-wikilink href="#missing-note">Missing Note</a></p>
|
||||
<p>Or write the HTML directly for fine-grained control:</p>
|
||||
<p>Resolved: <a href="#" data-wikilink>Session Protocol</a> — dotted
|
||||
underline, blue tint.</p>
|
||||
<p>Unresolved (target not found):
|
||||
<span data-wikilink data-unresolved>Missing Note</span> — dims to muted
|
||||
text.</p>
|
||||
<h2 id="tags">Tags</h2>
|
||||
<p><code>data-tag</code> prepends <code>#</code> automatically. Use
|
||||
<code><a></code> when linking to a filtered view,
|
||||
<code><span></code> for display only.</p>
|
||||
<p><a href="#tags" data-tag>autonomous</a> <span data-tag>deep</span>
|
||||
<span data-tag>vault</span></p>
|
||||
<p>In a session metadata line:</p>
|
||||
<p data-text="mono">session: complete — <span data-tag>autonomous</span> <span data-tag>deep</span> <span data-tag>vault</span></p>
|
||||
|
||||
<h2 id="git-hashes">Git hashes</h2>
|
||||
<p><code>data-hash</code> renders a commit reference — monospace, muted,
|
||||
tight letter-spacing.</p>
|
||||
<p>Last updated: <span data-session-meta>2026-03-27</span>
|
||||
<span data-hash>a3f7b2c</span></p>
|
||||
<h2 id="in-context">In context</h2>
|
||||
<p>A note backlink block combining all three:</p>
|
||||
<ul>
|
||||
<li><a href="#" data-wikilink>Session Protocol</a> — <span data-text="dim">directives/</span></li>
|
||||
<li><a href="#" data-wikilink>Tasks</a> — <span data-text="dim">vault extensions/</span></li>
|
||||
<li><span data-wikilink data-unresolved>Design Archive</span> — <span data-text="dim">not yet exported</span></li>
|
||||
</ul>
|
||||
|
||||
<p data-text="small dim">Tags: <span data-tag>vault</span> <span data-tag>reference</span> · Commit <span data-hash>842a2cd</span></p>
|
||||
</main>
|
||||
|
||||
<!--#include virtual="/_include/footer.html" -->
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue