-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathspec.html
32 lines (26 loc) · 1.83 KB
/
spec.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<h2 id="sec:expt" class="class1 class2" key="value">0.1: Experiments with pandoc figures (ˈjuːnɪˌkəʊd!)</h2>
<div id="fig:attr" class="figure class1 class2" key=value>
<img src="image.png" alt="Figure 1: a figure that can be referred to (ˈjuːnɪˌkəʊd!)" /><p class="caption">Figure 1: a figure that can be referred to (ˈjuːnɪˌkəʊd!)</p>
</div>
<p>Here is a reference to <a href="#fig:attr">Figure 1</a> and here is one to <a href="#fig:attr2">Figure 2</a>.</p>
<p>Here is reference to the section called <a href="#sec:expt">Section 0.1</a>.</p>
<div id="fig:attr2" class="figure">
<img src="image.png" alt="Figure 2: another figure that can be referred to (ˈjuːnɪˌkəʊd!)" /><p class="caption">Figure 2: another figure that can be referred to (ˈjuːnɪˌkəʊd!)</p>
</div>
<div class="figure">
<img src="image.png" alt="figure with no attr (ˈjuːnɪˌkəʊd!)" />
<p class="caption">figure with no attr (ˈjuːnɪˌkəʊd!)</p>
</div>
<p>Here is <a href="#eq:silly">Equation 1</a>:</p>
<p><span id="#eq:silly"><span class="math display">\[
2 + 2 = 5
\label{eq:silly}
\]</span></span></p>
<h2 id="unnumbered-section" class="unnumbered">Unnumbered Section</h2>
<div id="fig:nonum" class="figure unnumbered">
<img src="image.png" alt="no numbering here (ˈjuːnɪˌkəʊd!)" /><p class="caption">no numbering here (ˈjuːnɪˌkəʊd!)</p>
</div>
<h2 id="multiple-references" class="unnumbered">Multiple references</h2>
<p>We can refer to multiple things of the same type: Figures <a href="#fig:attr">1</a> and <a href="#fig:attr2">2</a></p>
<p>Or to multiple things of mixed type: Section <a href="#sec:expt">0.1</a>, Equation <a href="#eq:silly">1</a> and Figures <a href="#fig:attr">1</a> and <a href="#fig:attr2">2</a></p>
<p>But if there are any missing keys, nothing will happen: <span class="citation">[@fig:attr; @fig:idontexist]</span></p>