File: captions.html

package info (click to toggle)
golang-github-niklasfasching-go-org 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 788 kB
  • sloc: sh: 142; makefile: 42
file content (27 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (3)
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
<p>Anything can be captioned.</p>
<figure>
<div class="src src-sh">
<div class="highlight">
<pre>
echo &#34;i have a caption!&#34;
</pre>
</div>
</div>
<figcaption>
captioned soure block
</figcaption>
</figure>
<figure>
<img src="https://placekitten.com/200/200#.png" alt="https://placekitten.com/200/200#.png" title="https://placekitten.com/200/200#.png" /><figcaption>
captioned link (image in this case)
</figcaption>
</figure>
<p>
note that the whole paragraph is captioned, so a linebreak is needed for images to caption correctly</p>
<figure>
<p><img src="https://placekitten.com/200/200#.png" alt="https://placekitten.com/200/200#.png" title="https://placekitten.com/200/200#.png" />
see?</p>
<figcaption>
captioned link (image in this case)
</figcaption>
</figure>