]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
New plugin: rimg
authorspalax <spalax@web>
Sat, 20 Jun 2015 19:16:36 +0000 (15:16 -0400)
committeradmin <admin@branchable.com>
Sat, 20 Jun 2015 19:16:36 +0000 (15:16 -0400)
doc/plugins/contrib/rimg.mdwn [new file with mode: 0644]

diff --git a/doc/plugins/contrib/rimg.mdwn b/doc/plugins/contrib/rimg.mdwn
new file mode 100644 (file)
index 0000000..59d87cf
--- /dev/null
@@ -0,0 +1,15 @@
+[[!meta author="spalax"]]
+[[!template id=plugin name=rimg author="[[Louis|spalax]]"]]
+[[!tag type/widget]]
+
+This plugin provides the ``rimg`` [[ikiwiki/directive]].
+While ikiwiki supports including images by using the
+[[ikiwiki/directive/img]] directive, those images must
+be present in the wiki. This plugins allows to include remote images by giving
+their URL.
+
+For instance, the following directive displays the Ikiwiki favicon:
+
+    \[[!rimg http://ikiwiki.info/favicon.ico alt="Favicon" caption="IkiWiki favicon" link="http://ikiwiki.info"]]
+
+Note that this is a stripped down version of [[the img plugin|http://ikiwiki.info/plugins/img]].