summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/img.mdwn3
-rw-r--r--doc/style.css6
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/plugins/img.mdwn b/doc/plugins/img.mdwn
index b5eef148f..a4661f1a8 100644
--- a/doc/plugins/img.mdwn
+++ b/doc/plugins/img.mdwn
@@ -24,7 +24,8 @@ original image's aspect ratio is always preserved, even if this means
making the image smaller than the specified size.
You can also pass `alt`, `title`, `class` and `id` parameters. These are
-passed through unchanged to the html img tag.
+passed through unchanged to the html img tag. If you include a `caption`
+parameter, the caption will be displayed centered beneath the image.
The `link` parameter is used to control whether the scaled down image links
to the full size version. By default it does; set "link=somepage" to link
diff --git a/doc/style.css b/doc/style.css
index f9a69c4f1..b98507991 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -53,6 +53,12 @@ div.tags {
text-decoration: none;
}
+.img caption {
+ font-size: 80%;
+ caption-side: bottom;
+ text-align: center;
+}
+
#backlinks {
margin-top: 1em;
}