diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-07 23:45:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-07 23:45:40 -0400 |
commit | f6b47b0d1c67228f13242864a50827b40abb320c (patch) | |
tree | b825d44967a245c6fc03bfacb882ed1a18769e61 /doc/plugins | |
parent | d258793c3f56dd71a5f39d87145b5c198ba8af4f (diff) | |
download | ikiwiki-f6b47b0d1c67228f13242864a50827b40abb320c.tar ikiwiki-f6b47b0d1c67228f13242864a50827b40abb320c.tar.gz |
img: Support captions.
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/img.mdwn | 3 |
1 files changed, 2 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 |