First off. This is not mine. I found it by chance, on Bimlas' page. so 
credit to him.


I have made some documentation and added an extended version.

demo/download: https://hchaase.github.io/HC-Plugins/#macro%2Ficon


   - *Version*: 1.0.0
   - *Date*: 2020/02/27
   - *Creator*: HC Haase. Inspired by Bimlas 
   <https://bimlas.gitlab.io/tw5-locator/#%24%3A%2Fbimlas%2Fmacros%2Ficon>.

Function

This macro make transcluded icons follow the line height of the text with 
the option of a link and a tooltip. This makes prettier references to 
buttons (instead of this ) in documentation text.

There is a* simple macro* without a button and an *extended macro* with a 
button.
UseSyntax, simple macro (note the _)<<_icon <transclusion> >>Syntax, 
extended macro<<icon <transclusion> <link> "<tooltip text>" >>
Example<<icon {{$:/core/images/new-button}} "link" "tooltip text">>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f406e373-e7bc-409b-b6d8-77aaabf58c67%40googlegroups.com.

Reply via email to