Here's a fun autocomplete option

Hi everyone

I just discovered a neat workflow for $:/plugins/EvidentlyCube/AutoComplete, assuming you have it installed. If not, it is found at Evidently Cube TiddlyWiki5 Plugin Showcase — All the TW5 plugins developed by me!

I am attaching a trigger for that plugin, and a CSS file for the color and indentation I added.

After adding the json files and saving, open a new tiddler and type {{. Choose a tiddler from the list of existing and missing tiddlers. The end result is an open slider with the name and a link to the tiddler, and its transcluded contents.

You can adapt the styles by opening Control panel > EvidentlyCubed > find the link to $:/EvidentlyCube/Trigger/TiddlerTitleTransclusion. Then adapt the contents in the window of the Template section (and remove ‘open’ from the details element if you want your sliders closed by default). And in the trigger section change the trigger from {{ to something that works better for you.

tiddlertitletransclusiontrigger.json (956 Bytes)

This is similar to my subsume plugin, but with the bonus of being able to choose what existing or missing tiddler to use.

[edit: I tweaked my own version so that the Template section is <<subsume "$option$">>$caret$. If you use the subsume plugin already, that will make your tiddler editing area less messy.]

2 Likes

Ok so I didn’t explain the workflow part:

  1. Take notes on a book, say “Book 1”
  2. Organize notes by topiic.
  3. Excise the notes on a given topic, giving it the title “Topic 1 (Book 1)”.
  4. Now create a tiddler “Topic 1”.
  5. In that tiddler, type {{ and select Topic 1 (Book 1). Now you have a slider for what book 1 says about that topic.

You can use backlinking n Stroll to do something similar, and it is a bit easier., but the sliders are found in the viewtemplate area, with the accompanying limitations. This puts the content right in your tiddler.

1 Like