Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 591 Bytes

bracketed_spans.md

File metadata and controls

25 lines (21 loc) · 591 Bytes

Bracketed spans work like links with attributes, but without the link destination.

[foo]{#ident .class key="value value" key2=value2}
.
<p><span id="ident" class="class" data-key="value value" data-key2="value2">foo</span></p>
[foo
*bar*]{#ident
.class}
.
<p><span id="ident" class="class">foo
<em>bar</em></span></p>

An attribute is required:

[foo]
.
<p>[foo]</p>