summaryrefslogtreecommitdiffstats
path: root/testing/031_image.dox
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-03 13:54:06 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-01-03 13:54:06 (GMT)
commit5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f (patch)
treefd6e41e51f43ecacf4df1aaf7aeba984323dd782 /testing/031_image.dox
parentd2944ce350bd0fb687227eb4e98b942beab9591d (diff)
downloadDoxygen-5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f.zip
Doxygen-5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f.tar.gz
Doxygen-5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f.tar.bz2
Issue #6039: Links on image in Markdown (Origin: bugzilla #769223)
Diffstat (limited to 'testing/031_image.dox')
-rw-r--r--testing/031_image.dox55
1 files changed, 49 insertions, 6 deletions
diff --git a/testing/031_image.dox b/testing/031_image.dox
index 8ba47b7..61f5bba 100644
--- a/testing/031_image.dox
+++ b/testing/031_image.dox
@@ -2,9 +2,52 @@
// 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.
- */
+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 http://img.shields.io/badge/license-MIT-brightgreen.svg "A caption"
+
+PNG image with caption:\n
+\image html http://img.shields.io/badge/license-MIT-brightgreen.png "A caption"
+
+SVG image without caption:\n
+\image html http://img.shields.io/badge/license-MIT-brightgreen.svg
+
+PNG image without caption:\n
+\image html http://img.shields.io/badge/license-MIT-brightgreen.png
+
+Inline SVG image with caption:\n
+This image is inline \image{inline} html http://img.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 http://img.shields.io/badge/license-MIT-brightgreen.png "MIT license"
+within the text.
+
+Markdown style linked SVG image:\n
+[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)
+
+Markdown style linked PNG image:\n
+[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.png)](http://opensource.org/licenses/MIT)
+
+HTML style linked SVG image:\n
+<a href="http://opensource.org/licenses/MIT">
+<img src="http://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license">
+</a>
+
+HTML style linked PNG image:\n
+<a href="http://opensource.org/licenses/MIT">
+<img src="http://img.shields.io/badge/license-MIT-brightgreen.png" alt="MIT license">
+</a>
+
+HTML style unlinked SVG image:\n
+<img src="http://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT license"/>
+
+HTML style unlined PNG image:\n
+<img src="http://img.shields.io/badge/license-MIT-brightgreen.png" alt="MIT license"/>
+
+*/