diff options
author | Joey Hess <joey@kitenet.net> | 2013-11-08 14:33:05 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-11-08 14:33:05 -0400 |
commit | 85c1479a299121781f5567940d4c983b77bab2ed (patch) | |
tree | 03128948dc6a8df9aa1e2f9a500847c06a0f3f0d | |
parent | 53bf8ec71053f4c3f5bab74aad25b05052cbf745 (diff) | |
parent | 3500632a497ef38ac1f2dcf30b50248a0c88d4d3 (diff) | |
download | ikiwiki-85c1479a299121781f5567940d4c983b77bab2ed.tar ikiwiki-85c1479a299121781f5567940d4c983b77bab2ed.tar.gz |
Merge branch 'master' of ssh://git.ikiwiki.info
-rw-r--r-- | doc/ikiwiki/directive/toggle/discussion.mdwn | 15 |
1 files changed, 15 insertions, 0 deletions
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: + + <a class="toggle collapser" href="#posts.toggleable-id">Toggle</a> + +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 |