This might be a naive solution but for references to the current tiddler 
that are *not* explicitly links you could use the search filter, like this:

<$list filter="[search:text:literal<this-tiddler-spaces>] -[<currentTiddler>
backlinks[]]">
<$link><<currentTiddler>></$link>
<br>
</$list>

Just create a tiddler with the above, tag it *$:/tags/ViewTemplate* and you 
will get a list at the bottom of every tiddler. Unfortunately as it is this 
will match references that are within larger words, so if you had a tiddler 
called "link" then another tiddler that contains the word "unlinked" will 
be counted as referencing the tiddler.

By the looks of it with the freelinks plugin all references to other 
tiddlers will *appear* as links, but they won't actually be converted to 
the link syntax. Because of this they will still show up as implicit 
references in the solution I gave above, even if they appear as links when 
viewing the tiddler.

It sounds like you also want a button to appear next to each of the 
implicit references that will convert them into explicit links?

I tried this and got half way there, so maybe someone can fix my code:

<$vars this-tiddler=<<currentTiddler>> >

<$list filter="[is[tiddler]!is[system]search:text:literal<currentTiddler>] 
-[<currentTiddler>backlinks[]]">
<$link><<currentTiddler>></$link>
<$list filter="[title<currentTiddler>get[text]splitbefore<this-tiddler>]" 
variable="left">
<$list filter="[title<currentTiddler>get[text]removeprefix<left>]" 
variable="right">
<$list filter="[<left>] +[removesuffix<this-tiddler>]" variable="start">
<$vars lb="[[" rb="]]">
<$vars linkified={{{ [<this-tiddler>addprefix<lb>addsuffix<rb>addprefix
<start>addsuffix<right>] }}}>
<$button class=<<tv-config-toolbar-class>>>
<$action-setfield $tiddler=<<currentTiddler>> $field="text" $value=<
<linkified>> />
{{$:/core/images/link}}
</$button>
</$vars>
</$vars>
</$list>
</$list>
</$list>

<br>

</$list>

</$vars>

This will add a button that will convert the first occurence of an implicit 
reference to an explicit link.

The main issue I have noticed (there are no doubt others) is that 
"removeprefix" is case sensitive so it will only convert when cases match 
exactly.

On Monday, 13 April 2020 01:40:29 UTC+1, Anne-Laure Le Cunff wrote:
>
> Hey everyone,
>
> So I'm using TiddlyBlink <https://giffmex.org/gifts/tiddlyblink.html> by 
> Dave Gifford (thank you!)
>
> It's currently showing the explicit linked references at the bottom of the 
> articles, which is awesome.
>
> Is there a way to:
>
>    1. Show the implicit / unliked references, e.g. the word was mentioned 
>    but not proactively put into double brackets
>    2. Create explicit links from the page I'm on, i.e. convert implicit 
>    into explicit links
>
> Very inspired by the wonderful Roam Research I've been using for a few 
> months and also recommend—its only issue is that it's not open source.
>
> Here <https://github.com/cofinley/free-roam> is a demo of what I mean.
>

-- 
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/f44e21be-0092-4ddb-a1ee-45695630332d%40googlegroups.com.

Reply via email to