ecmarkup
Version:
Custom element definitions and core utilities for markup that specifies ECMAScript and related technologies.
28 lines (21 loc) • 901 B
HTML
<pre class=metadata>toc: false</pre>
<emu-intro id="sec-intro">
<h1>Intro</h1>
<p>Forward references to dfn work.</p>
<p>Also terms from ES6 are auto-linked: Lexical Environment, Completion, etc.</p>
</emu-intro>
<emu-clause id="sec-dfn">
<h1>dfn</h1>
<p>The term <dfn>dfn</dfn> means the dfn tag. Other mentions of dfn in this clause should not be auto-linked.</p>
<emu-clause id="sec-dfn-subclause">
<h1>dfn subclause</h1>
<p>dfn should be auto-linked here as well. The linking of dfn is case sensitive. But the header shouldn't auto-link.</p>
</emu-clause>
<p>Also terms are auto-linked in algorithms. But not naked abstract ops!</p>
<emu-alg>
1. Call the dfn algorithm.
2. Do something great with dfn.
3. dfn is now awesome.
</emu-alg>
</emu-clause>
<p>dfn is not auto-linked outside of clauses. Nor are terms created, such as <dfn>linking</dfn>.</p>