Also try to get this into the core!  

On Wednesday, March 11, 2020 at 10:22:29 AM UTC-5, Mohammad wrote:
>
> Hi HC Hasse,
>  Thank you for sharing. Nice stuffs. I also sue a macro doc-svg in Utility 
> plugin just to set the size and vertical alignment.
> Strangely there is no documentation macro for this in tiddlywiki.com.
>
> Your macro not only set he size and alignment but also create a link and 
> acts as button. You may add a css class input parameter to set the 
> color/fill, ....
>
> Good luck
> --Mohammad
>
> On Wednesday, March 11, 2020 at 2:02:00 PM UTC+3:30, HC Haase wrote:
>>
>> 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/6c4b7553-2783-42de-86a2-b712d6f2bbd7%40googlegroups.com.

Reply via email to