[tw5] Auto Linking tags

Hi!

Im very new to TiddlyWiki but im very impressed with its capabilities! Im currently transfering all my notes to it! :smiley:

I was wondering, is there a way of automatically linking text in tiddlers to tiddlers with the same tags? So for example, all instances of the string “java” in one tiddler will link to all tiddlers with the java tag?

Hi,

Tags in tiddlywiki can be also tiddlers. Eg: you can create a tiddler named: java that contains the following content:

<<list-links "[tag[java]]">>

Then you create a second tiddler named: Java … with the content

{{java}}

The second tiddler is there, just to be sure you can use [[java]] and [[Java]] as links to the tag-tiddler.

The advantage of this mechanism is, that you can decide, which “java” words link to the tag-tiddler. … If every occurrence of the “java” text will link to the tag-tiddler, for me personally it would be annoying to have 10 links in a text, that all link to the same target.

And

You can add this to your java-tag tiddler.

Tagged “java”:

<<list-links "[tag[java]]">>

Awesome! thanks Mario! I will give this a go when I get a chance!

My thinking behind the automatic linking was that I have a lot of notes to add and it would be quicker for the links to automatically be created and for me to remove the unecassary ones than it would be for me to traul through all my notes creating them! :stuck_out_tongue:

1 Like