Direct Icons: use icon field value as tiddler icon

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 = 🐟:
    image
  • Or do something wild like icon = {{{ [range{!!rating}] :map[[⭐]] }}}; rating = 3:
    image
    (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?

2 Likes

There was a notion style plugin Gk0Wk/notionpage-covericon

but glad to see a new plugin that supports filtered transclusion on icon.