Attributes
A bare key is one of HTML's boolean attributes.
{@details open}
x
{/details}
.
<details open><p>x</p>
</details>
{hidden .x}
para
.
<p class="x" hidden>para</p>
Bare keys alone count only after a link, image, span or element's name. On a line or after a word they are prose, with no warning.
{year}
## Sets {a}
.
<p>{year}</p>
<h2 id="sets-a">Sets {a}</h2>
After a link, image or [text], a {…} that doesn't parse stays text and is reported.
[x]{@kbd type='bar'}
.
<p>[x]{@kbd type='bar'}</p>
.
{@kbd type='bar'}
[docs](/d){target='_blank'}
.
<p><a href="/d">docs</a>{target='_blank'}</p>
.
{target='_blank'}
{#pricing .center}
## Pricing
.
<h2 id="pricing" class="center">Pricing</h2>
{.a key=1}
{.b key=2}
| x |
| - |
.
<table class="a b" key="2">
<thead>
<tr>
<th>x</th>
</tr>
</thead>
</table>
para
{.x}
.
<p>para
{.x}</p>
> {.x}
.
<blockquote>
<p>{.x}</p>
</blockquote>
.
{.x}
An unclosed { is text, reported only when a later line closes it.
{.a
para
.
<p>{.a
para</p>
{a, b} and {"json": 1}
.
<p>{a, b} and {"json": 1}</p>
{onclick=x href="javascript:alert(1)" src="data:image/png;base64,AA" ok=1}
para
.
<p src="data:image/png;base64,AA" ok="1">para</p>