From: W. Trevor King Date: Mon, 4 Oct 2010 19:05:07 +0000 (-0400) Subject: Documented the linktoimgonly plugin. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45ad59483333157f08b9a3db96acda3cbd04ca3e;p=ikiwiki.git Documented the linktoimgonly plugin. --- diff --git a/doc/ikiwiki/directive/ltio.mdwn b/doc/ikiwiki/directive/ltio.mdwn new file mode 100644 index 000000000..9d64a53c7 --- /dev/null +++ b/doc/ikiwiki/directive/ltio.mdwn @@ -0,0 +1,15 @@ +The `ltio` directive is supplied by the [[!iki plugins/linktoimgonly +desc=linktoimgonly]] plugin. + +By default ikiwiki [[inlines WikiLinks to images|ikiwiki/WikiLinnk]], +but sometimes you want a text link instead. The `ltio` directive +forces a text link. + +## usage + + \[[!ltio image1.jpg]] + +The image file will be searched for using the same rules as used to find +the file pointed to by a [[ikiwiki/WikiLink]]. + +[[!meta robots="noindex, follow"]] diff --git a/doc/plugins/linktoimgonly.mdwn b/doc/plugins/linktoimgonly.mdwn new file mode 100644 index 000000000..8bda6ecad --- /dev/null +++ b/doc/plugins/linktoimgonly.mdwn @@ -0,0 +1,7 @@ +[[!template id=plugin name=linktoimgonly author="W. Trevor King"]] +[[!tag type/widget]] + +This plugin provides the [[ikiwiki/directive/ltio]] +[[ikiwiki/directive]]. Ikiwiki [[inlines WikiLinks to +images|ikiwiki/WikiLinnk]], but sometimes you want a text link +instead. The `ltio` directive forces a text link.