Nice!
The next step would be to have a button next to each item that allows you
to switch from link to transclusion. And/or a small link when displayed as
a transclusion so you could quickly edit the text. The current status would
be stored in a flag in the tiddler. The macro might also need a way to
display different text when linking. And also default to using caption
(ala uni-links) when no link description is given. There would also be a
master configuration tiddler for final publication that only shows the
transcluded results with no buttons.
These ideas are motivated by the need to move quickly between edit/view
modes, and the fact that there is no easy way to change the contents of
macros (or links) globally. So once you've created a title, it's easiest to
stick with it though you may want it to be displayed differently.
-- Mark
On Thursday, August 30, 2018 at 9:37:02 AM UTC-7, BurningTreeC wrote:
>
> I'm just adding my 2cents with an idea:
>
> a small macro that displays a link if the tiddler is missing, but
> transcludes the tiddler if it's not:
>
> in a macro-tiddler:
>
> \define trl(text)
> {{$text$||transcludilinktemplate}}
> \end
>
> in the "transcludilinktemplate":
>
> <$list filter="[<currentTiddler>is[missing]]">
> <$link to=<<currentTiddler>>><<currentTiddler>></$link>
> </$list>
> <$list filter="[<currentTiddler>!is[missing]]">
> <$transclude/>
> </$list>
>
> ... call it with <<trl "tiddler title">> and it's a link as long as the
> tiddler doesn't exist and it transcludes it when it does, neat!
>
>
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/a1bf833a-6b94-4f77-aacf-ccb40fc8f3d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.