Hello everyone.
I’m doing some tests using the macros that come in Shiraz, by Mohammad, and I can’t get them to work well for me, although I don’t think it’s because of a failure, but rather because I’m not doing something right. Specifically, they are the Cards and Alerts macros that come within the Shiraz plugin. I want icons that function as links to be displayed within those color rectangles that macros make, the thing is that I can’t get them to work at all.
The first macro I use is from cards and I have written it as follows:
<<card text:"<a href="https://twitter.com/TiddlyWiki" target="_blank" rel="noopener noreferrer">
@@fill:blue;{{$:/core/images/twitter}}@@</a>" width:"50rem" class:"bg-secondary border-primary text-white">>
In this case the Twitter icon is not shown to me and also the box overflows the tiddler.
The next macro I use is this:
<<alert dark "<a href="https://twitter.com/TiddlyWiki" target="_blank" rel="noopener noreferrer">
@@fill:blue;{{$:/core/images/twitter}}@@</a>" width:80%>>
In this case what I get is “<a href=”
Finally I have tried to put inside text:"" a table with invisible borders and I can’t get it to show up either. Do I have to put the code of said table between some parameter? This is the code I use:
<<card
header:"Featured Card"
title:"Dark title card"
text:"
<table class="table-borderless source">
<tr><td>{{$:/images/boxicons/logos/bxl-facebook-square}}</td><td>---</td><td>{{$:/images/boxicons/logos/bxl-twitter}}</td><td>---</td><td>{{$:/images/boxicons/logos/bxl-instagram}}</td><td>---</td></tr>
<tr><td>{{$:/images/boxicons/logos/bxl-linkedin-square}}</td><td>---</td><td>{{$:/images/svg-icon/youtube}}</td><td>---</td><td>{{$:/images/font-awesome/brands/tiktok}}</td><td>---</td></tr>
</table>"
footer:"Created a month ago"
width:50%
class:"text-center"
>>
Is it possible to do what I’m trying?
Thanks.