diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2009-11-15 00:33:28 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-11-15 00:33:28 +0100 |
commit | 88a217598d1254774f611f1878883083289606f1 (patch) | |
tree | e33271a04c89bac7c7facc8386ab56ef3a5d794a /doc/ikiwiki | |
parent | 7b2571adf4ebe989043b9609b0c42ca96eada71d (diff) | |
download | ikiwiki-88a217598d1254774f611f1878883083289606f1.tar ikiwiki-88a217598d1254774f611f1878883083289606f1.tar.gz |
Improve img's documentation.
Jon is right, of course. User error, not an ikiwiki bug. So, I removed the
false bug report and added its gist to img's documentation.
Diffstat (limited to 'doc/ikiwiki')
-rw-r--r-- | doc/ikiwiki/directive/img.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive/img.mdwn b/doc/ikiwiki/directive/img.mdwn index 94cc754bd..b847aa239 100644 --- a/doc/ikiwiki/directive/img.mdwn +++ b/doc/ikiwiki/directive/img.mdwn @@ -22,6 +22,12 @@ You can also pass `alt`, `title`, `class`, `align` and `id` parameters. These are passed through unchanged to the html img tag. If you include a `caption` parameter, the caption will be displayed centered beneath the image. +Note that for the `align` parameter to work, you have to make sure that the +`img` directive isn't surrounded with newlines, as the [[Markdown]] renderer +would otherwise put the image into its own paragraph, inhibiting this +functionality from working. On the other hand, CSS should probably rather be +used instead. + The `link` parameter is used to control whether the scaled image links to the full size version. By default it does; set "link=somepage" to link to another page instead, or "link=no" to disable the link, or |