summaryrefslogtreecommitdiffstats
path: root/testing/031_image.dox
blob: 4a67116ef9b4907d42ea932bb5eacb30d4c4bafd (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// objective: test the \image command
// check: indexpage.xml
// config: IMAGE_PATH = $INPUTDIR
/** \mainpage
Some text.
\image html sample.png
\image latex sample.png "Doxygen logo" width=5cm
\image docbook sample.png
More text.

SVG image with caption:\n
\image html https://raster.shields.io/badge/license-MIT-brightgreen.svg "A caption"

PNG image with caption:\n
\image html https://raster.shields.io/badge/license-MIT-brightgreen.png "A caption"

SVG image without caption:\n
\image html https://raster.shields.io/badge/license-MIT-brightgreen.svg

PNG image without caption:\n
\image html https://raster.shields.io/badge/license-MIT-brightgreen.png

Inline SVG image with caption:\n
This image is inline \image{inline} html https://raster.shields.io/badge/license-MIT-brightgreen.svg "MIT license" within the text.

Inline PNG image with caption:\n
This image is inline
\image{inline} html https://raster.shields.io/badge/license-MIT-brightgreen.png "MIT license"
within the text.

Markdown style linked SVG image:\n
[![MIT license](https://raster.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)

Markdown style linked PNG image:\n
[![MIT license](https://raster.shields.io/badge/license-MIT-brightgreen.png)](https://opensource.org/licenses/MIT)

HTML style linked SVG image:\n
<a href="https://opensource.org/licenses/MIT">
<img src="https://raster.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license">
</a>

HTML style linked PNG image:\n
<a href="https://opensource.org/licenses/MIT">
<img src="https://raster.shields.io/badge/license-MIT-brightgreen.png" alt="MIT license">
</a>

HTML style unlinked SVG image:\n
<img src="https://raster.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license"/>

HTML style unlinked PNG image:\n
<img src="https://raster.shields.io/badge/license-MIT-brightgreen.png" alt="MIT license"/>

Some markdown image tests\n
![Some SVG image](https://raster.shields.io/badge/docs-Doxygen-blue.svg?foo&bar)
[Some normal link](https://www.doxygen.nl/index.html?foo&bar)

![Some SVG image](https://raster.shields.io/badge/docs-Doxygen-blue.svg?foo&amp;bar)
[Some normal link](https://www.doxygen.nl/index.html?foo&amp;bar)
*/