master
Joey Hess 2010-01-09 21:25:37 -05:00
parent a23d3b6547
commit 149e8e1c62
1 changed files with 8 additions and 1 deletions

View File

@ -49,7 +49,7 @@ Any hints? --[[jerojasro]]
>>> * Have things that are wikilink-aware (like [[plugins/brokenlinks]] >>> * Have things that are wikilink-aware (like [[plugins/brokenlinks]]
>>> treat your link to the image as a wikilink. >>> treat your link to the image as a wikilink.
>>> * Use standard wikilink path stuff (and not have to worry about >>> * Use standard wikilink path stuff (and not have to worry about
>>> a raw html link breaking if the page it's on is inlined, for >>> a relative html link breaking if the page it's on is inlined, for
>>> example). >>> example).
>>> >>>
>>> I can help you bang that plugin into shape if need be. --[[Joey]] >>> I can help you bang that plugin into shape if need be. --[[Joey]]
@ -60,3 +60,10 @@ Any hints? --[[jerojasro]]
>>>> Get the "plugin" [here](http://devnull.li/~jerojasro/files/linktoimgonly.pm), see the broken >>>> Get the "plugin" [here](http://devnull.li/~jerojasro/files/linktoimgonly.pm), see the broken
>>>> links generated [here](http://devnull.li/~jerojasro/blog/posts/job_offers/) and the source >>>> links generated [here](http://devnull.li/~jerojasro/blog/posts/job_offers/) and the source
>>>> file for that page [here](http://git.devnull.li/cgi-bin/gitweb.cgi?p=blog-jerojasro.git;a=blob;f=posts/job_offers.mdwn;hb=HEAD) --[[jerojasro]] >>>> file for that page [here](http://git.devnull.li/cgi-bin/gitweb.cgi?p=blog-jerojasro.git;a=blob;f=posts/job_offers.mdwn;hb=HEAD) --[[jerojasro]]
>>>>> Use this --[[Joey]]
return htmllink($params{page}, $params{destpage}, $params{"img"},
linktext => $params{text},
noimageinline => 1);