data local lt - speced/respec GitHub Wiki

data-local-lt

Applies to: <dfn>

Defines alternative linking terms that work within this document only — they are not exported to the xref database. Use this when you want local shorthand aliases for an exported term without polluting the cross-spec namespace.

Usage

<dfn data-export
     data-lt="installed web application"
     data-local-lt="installing|installation">installed</dfn>

<!-- All of these link correctly within this document: -->
<a>installed</a>           <!-- exported, linkable cross-spec -->
[=installed web application=]  <!-- exported -->
<a>installing</a>          <!-- local only -->
<a>installation</a>        <!-- local only -->

Notes

  • Separate multiple local alternatives with |
  • In contrast, data-lt alternatives are exported (the first data-lt value becomes the canonical xref export name)
  • Use data-local-lt for verb forms, gerunds, and other grammatical variants that shouldn't clutter the global xref namespace
⚠️ **GitHub.com Fallback** ⚠️