summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-22 16:46:27 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-09-22 16:46:27 +0000
commit622b866f3ee3d3b5fe76f913559a0afae66af001 (patch)
tree8c50af3ae2b4daed7fe01d12fd771f4b873cccc2 /doc
parent7bde880fa8cf2e7d3413a7ede7ae5b604a97e85b (diff)
* img: Allow link=somepage to cause the image to link to a given page.
Slight overriding of link, as link=no is still used to disable the linking entirely. Unless you have a page named "no"..
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/img.mdwn4
-rw-r--r--doc/plugins/img/discussion.mdwn1
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/plugins/img.mdwn b/doc/plugins/img.mdwn
index 63006443a..5d93e90c5 100644
--- a/doc/plugins/img.mdwn
+++ b/doc/plugins/img.mdwn
@@ -27,8 +27,8 @@ You can also pass `alt`, `class` and `id` parameters. These are passed through
unchanged to the html img tag.
The `link` parameter is used to control whether the scaled down image links
-to the full size version. By default it does; set "link=no" to disable
-this.
+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.
You can also set default values that will be applied to all later images on
the page, unless overridden. Useful when including many images on a page.
diff --git a/doc/plugins/img/discussion.mdwn b/doc/plugins/img/discussion.mdwn
index c6e6d3336..c8a536327 100644
--- a/doc/plugins/img/discussion.mdwn
+++ b/doc/plugins/img/discussion.mdwn
@@ -4,3 +4,4 @@ on <http://www.bddebian.com/~wiki/sidebar/> I'd like to have the
logo link to \[[hurd/logo]] / <http://www.bddebian.com/~wiki/hurd/logo/>
instead of linking to the PNG image file. --[[tschwinge]]
+> Done, use link=somepage --[[Joey]]