From 45ad59483333157f08b9a3db96acda3cbd04ca3e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 4 Oct 2010 15:05:07 -0400 Subject: [PATCH] Documented the linktoimgonly plugin. --- doc/ikiwiki/directive/ltio.mdwn | 15 +++++++++++++++ doc/plugins/linktoimgonly.mdwn | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 doc/ikiwiki/directive/ltio.mdwn create mode 100644 doc/plugins/linktoimgonly.mdwn 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. -- 2.26.2