Transcluding tiddler as linked text - is it possible?

51 views
Skip to first unread message

Jon

unread,
Jan 23, 2020, 1:44:25 PM1/23/20
to TiddlyWiki
Hi,

I sort of asked this in a previous post but I might have buried the question.

So, is it possible to transclude a tiddler so that the text of the new tiddler is linked back to the original?

Regards
Jon

Mat

unread,
Jan 23, 2020, 1:52:54 PM1/23/20
to TiddlyWiki
Jon wrote:
So, is it possible to transclude a tiddler so that the text of the new tiddler is linked back to the original?

Yes, several ways but many of them are probably not what you have in mind. Could you be a little more specific in what you envision? Give an example how it would work and appear.

<:-)

David Gifford

unread,
Jan 23, 2020, 2:14:07 PM1/23/20
to TiddlyWiki
Just change 'bibliography' to your target tiddler title in both instances, and paste in another tiddler to have its text be a link to the target.

<$link to="Bibliography"><$transclude tiddler="Bibliography" field="text" mode="block"/></$link>

Jon

unread,
Jan 23, 2020, 2:21:59 PM1/23/20
to TiddlyWiki
Hi Matt,

this came about from the previous post https://groups.google.com/forum/#!topic/TiddlyWiki/RYjdhLsNTlM when that unexpectedly produced the transcluded tiddler as linked text and I appreciated how useful that was.

So normally, if several tiddlers are transcuded into a new one, in view mode, it is one block of text and you don't know where each section originated from. You can see the source in edit mode, but again, there isn't an easy way back to the original, whereas if the text was linked, then one click would take you back there.

Hope that makes sense.

Regards
Jon

Jon

unread,
Jan 23, 2020, 2:30:24 PM1/23/20
to TiddlyWiki
Hi Dave,

Sorry, I can't seem to get that to work and I know I'm probably being a bit slow.

So, if I want to transclude 'A' into 'B' with a link back to 'A' what would it be?

Thanks
Jon

Jon

unread,
Jan 23, 2020, 2:32:33 PM1/23/20
to tiddl...@googlegroups.com
Hah! of all the tiddlers I chose, I chose an empy one - that's why I didn't see anything!

Yes, that is perfect, thanks Dave.

Regards
Jon

David Gifford

unread,
Jan 23, 2020, 3:39:55 PM1/23/20
to TiddlyWiki
Darn right it's perfect. :-)
Reply all
Reply to author
Forward
0 new messages