This discussion triggered this thread in gh <https://github.com/Jermolene/TiddlyWiki5/discussions/5564>. Feel free to join in.
I think plain bracket links could be much more powerful than they currently are. <:-) On Tuesday, March 23, 2021 at 12:47:32 PM UTC+1 Stobot wrote: > For anyone else, I'll just post a picture of what this looks like when > implemented - this is an entirely new way of saving time and adding context > to notes for me. Now I can't do images like I originally imagined, but I > can do some icons / emoji like shown below. Example here is information > stored on the project, hovering over a link which has a tag of Project. > > [image: screenshot.png] > > On Tuesday, March 23, 2021 at 7:32:56 AM UTC-4 Stobot wrote: > >> Beautiful! Thanks Jeremy >> >> On Tuesday, March 23, 2021 at 7:27:19 AM UTC-4 [email protected] wrote: >> >>> >>> Thanks Jeremy - that would help for Mat's use case of a custom action on >>> navigate - I was hoping for something in the hover / tooltip area. Is there >>> anything similar? >>> >>> >>> For that you’ll want the tv-wikilink-tooltip variable: >>> >>> >>> https://tiddlywiki.com/#tv-wikilink-tooltip%20Variable%20(Examples):%5B%5Btv-wikilink-tooltip%20Variable%5D%5D%20%5B%5Btv-wikilink-tooltip%20Variable%20(Examples)%5D%5D >>> >>> Best wishes >>> >>> Jeremy >>> >>> >>> On Tuesday, March 23, 2021 at 7:22:58 AM UTC-4 Stobot wrote: >>> >>>> We're on the same page Mat - sorry if I was unclear, while doing a >>>> macro is possible, my question instead is how to hijack the normal [[...]] >>>> logic as you've implied. >>>> >>>> I'm guessing it's either something I can tweak in "Inline Parse Rules", >>>> or a modification / additional javascript around the wikification process >>>> itself. >>>> >>>> On Tuesday, March 23, 2021 at 7:00:51 AM UTC-4 Mat wrote: >>>> >>>>> You can probably make a macro to call like <<link "Bob Ross">> and the >>>>> macro checks up what type of tiddler "Bob Ross" is and acts accordingly. >>>>> Maybe the $LinkWidget can also show wikitext tooltips that uses the >>>>> current >>>>> title (i.e the linked to title) as argument - I don't know if this is >>>>> possible. >>>>> >>>>> What I would much rather see - so it doesn't disturb the workflow when >>>>> authoring - is a direct logic that is invoked when using the [[...]] >>>>> syntax, because this syntax is "the smooth one". It could be attached to >>>>> some template but what exact template to apply could be customized based >>>>> on >>>>> some characteristic of what is linked. E.g "Bob Ross" is tagged Contact >>>>> so >>>>> the contacttemplate is used. Maybe it could even specify what happens >>>>> when >>>>> the link is clicked! This would make it possible to have [[bobross]] >>>>> [[BobRoss]] and [[Bob Ross]] all navigate to [[Bob Ross]]. >>>>> >>>>> Just maybe PMarios linking plugin, whose name just escapes me, uses >>>>> something like this... >>>>> >>>>> <:-) >>>>> >>>>> On Tuesday, March 23, 2021 at 11:41:26 AM UTC+1 Stobot wrote: >>>>> >>>>>> I had an idea today and am trying to figure out how difficult it >>>>>> would be to do. Say we use TiddlyWiki for project management (as I do), >>>>>> we >>>>>> will be writing "journal" type tiddlers and using as many links as >>>>>> possible >>>>>> for future reference. >>>>>> >>>>>> For example: "On [[2021-03-23]] I had lunch with [[Bob Ross]] and >>>>>> talked about [[Painting]] and his favorite place to paint which is >>>>>> [[France]]" >>>>>> >>>>>> Now, I know that: >>>>>> >>>>>> - [[2021-03-23]] is a tiddler that is tagged "Date" >>>>>> - [[Bob Ross]] is a tiddler that is tagged "Contact" >>>>>> - [[Painting]] is a tiddler that is tagged "Hobby" >>>>>> - [[France]] is a tiddler that is tagged "Place" >>>>>> >>>>>> Is there somewhere that I can insert logic to add to the logic of the >>>>>> internal link that is ultimately rendered? For example, for a "Contact", >>>>>> I >>>>>> might have "profilepic" in a field for [[Bob Ross]], and on the >>>>>> tooltip/hover I might want to display his picture, for the date, maybe a >>>>>> calendar tooltip, and for Hobby, maybe a list of other hobbies, or maybe >>>>>> recent entries also related to Painting. >>>>>> >>>>>> I could use macros instead of links and insert logic there - such as >>>>>> use <<mylink "Bob Ross">> and in the macro check for the tag and insert >>>>>> all >>>>>> of my stuff, but then I can't use things like CompText, backlinks >>>>>> probably >>>>>> wouldn't work etc. >>>>>> >>>>>> Any ideas? >>>>>> >>>>> >>> -- >>> 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 view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/tiddlywiki/d95cee47-ea6e-44d9-b481-3613b4246b11n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> >>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/45ad1c44-ea3c-4fdf-88a8-ba658926bc19n%40googlegroups.com.

