The Direct Icons plugin lets you use the value of the icon
field as tiddler’s icon.
- If the
icon
field contains a title of an existing tiddler, everything works as usual. - If the
icon
field contains something else, it is transcluded in place of the tiddler’s icon. - Do something simple like
icon
=🐟
:
- Or do something wild like
icon
={{{ [range{!!rating}] :map[[⭐]] }}}
;rating
=3
:
(alright, this one probably doesn’t make much sense) - The plugin is practical if you want to use some emojis/symbols for an icon of a single tiddler only – this way you’re skipping the step of creating an icon tiddler and referencing it in the target tiddler. If you’re going to reuse the icon, it’s better to do it the standard way than via this plugin’s hack.
The thread that inspired this plugin: Using Unicode as icons on tiddlers?