In TiddlyWiki you can create direct links to a tiddler or list them according to a filter. However, there are times when it would be nice for a tiddler to automatically appear at all connected tiddlers without doing anything. Thus I created a two-way link "mechanism": instead of referring to the source, the source specifies which tiddlers it is linked to. This is useful when, for example, I want to remind myself of a possibility of error.
The easiest way to understand this is to look at a specific example: https://bimlas.gitlab.io/#Proper%20shebang%20line This tiddler is about the correct form of the shebang line (needed for shell scripts). Since I'm not always going to remember this, I want to make sure that TiddlyWiki reminds me when I viewing a tiddler contains shell code, so I defined the conditions under which this information will be displayed (as a filter in "condition-to-show-in-footnote" field of this tiddler). [search[#!/usr/bin/]] So for those tiddlers that have the phrase "#!/usr/bin" in their text, I'd like to automatically see a link to the shebang note, thus I created a viewtemplate <https://bimlas.gitlab.io/#%24%3A%2Fbimlas%2Ffootnote-of-possible-issues%2Ftemplate> (attached as well) to display the link where this condition is met, and to list these target tiddlers for the shebang note. With this solution, I only need to set up a filter once and a link to the source always appears at the bottom of the associated tiddlers. *Attention*! Use a simple filter that doesn't take much time to execute, otherwise the wiki may become slow (for example, don't use the Kin filter <https://bimlas.gitlab.io/tw5-kin-filter/>). -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/726feb32-160b-402e-a89b-2be41e06b530%40googlegroups.com.
$__bimlas_footnote-of-possible-issues_template.json
Description: application/json