mirror of https://gitee.com/openkylin/doxygen.git
60 lines
2.2 KiB
Plaintext
60 lines
2.2 KiB
Plaintext
// 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
|
|
[](https://opensource.org/licenses/MIT)
|
|
|
|
Markdown style linked PNG image:\n
|
|
[](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 normal link](https://www.doxygen.nl/index.html?foo&bar)
|
|
|
|

|
|
[Some normal link](https://www.doxygen.nl/index.html?foo&bar)
|
|
*/
|