On Wednesday, August 5, 2015 at 5:08:50 AM UTC-7, UBi wrote: > > In my TiddlyWiki I have tiddlers describing my pets: [[Cat Fred]], [[Dog > Jimmy]], [[Mouse Beanie]], [[Squid Joe]] [[Dog Joe]], [[Spider Gonzo]]..... > All of them are tagged with "Pet". > I would like those links to be displayed with neat icons instead of the > animal prefixes, e.g. > [[Dog Joe]] should be rendered as <a href="#Dog%20Joe"><img > src="Dog.png"><span>Joe</span></a>, as opposed to > [[Squid Joe]] --> <a href="#Squid%20Joe"><img > src="Squid.png"><span>Joe</span></a>. > Is there a way to achieve this with CSS/Macros/Widgets, without writing a > JavaScript plugin? >
\define PetLink(what,who) <a href="#$what$%20$who$"><img src="$what$.png"><span>$who$</span></a> \end <<PetLink Dog Joe>> <<PetLink Squid Joe>> enjoy, -e Eric Shulman ELS Design Studios TiddlyTools - "Small Tools for Big Ideas!" InsideTiddlyWiki: The Missing Manuals YOUR DONATIONS ARE VERY IMPORTANT! HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... http://TiddlyTools.github.com/fundraising.html#MakeADonation Professional TiddlyWiki Consulting Services... Analysis, Design, and Custom Solutions: http://www.TiddlyTools.com/#Contact -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0078817a-9f29-44d6-82d1-a1af73fcc9c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

