From: Joey Hess Date: Fri, 8 Nov 2013 18:33:05 +0000 (-0400) Subject: Merge branch 'master' of ssh://git.ikiwiki.info X-Git-Tag: debian/3.20140102~75 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/85c1479a299121781f5567940d4c983b77bab2ed?hp=53bf8ec71053f4c3f5bab74aad25b05052cbf745 Merge branch 'master' of ssh://git.ikiwiki.info --- diff --git a/doc/ikiwiki/directive/toggle/discussion.mdwn b/doc/ikiwiki/directive/toggle/discussion.mdwn new file mode 100644 index 000000000..e6507ae29 --- /dev/null +++ b/doc/ikiwiki/directive/toggle/discussion.mdwn @@ -0,0 +1,15 @@ +IMHO, i would be very useful to be able to customise the toggle indicator a little bit more. Something like the img directive parameters would be appreciated: + +> You can also pass alt, title, class, align, id, hspace, and vspace parameters. These are passed through unchanged to the html img tag. If you include a caption parameter, the caption will be displayed centered beneath the image. + +So that for instance: + + \[[!toggle id="toggleable-id" text="Toggle" class="collapser"]] + +could produce: + + Toggle + +This could be extra-useful when using icons like [Font Awesome](http://fortawesome.github.io/Font-Awesome/icons/) so that the toggle link could be a nice icon instead of text. + +-- Hugo