I like that discussion (Notion designer on transclusion and GUI) very much. Thanks, alvorithm!
Since this thread was last active I made a tiddler that goes someway to the pattern discussed;
source-transclusions.json (1.2 KB)
The references is broken
Use in any tiddler {{tiddlername||source}}
and tiddlername will be transcluded. Mouse over to see what that tiddler is.
If $:/config/author-mode contains “yes” a link to the source and a click to edit button appears at the right top/bottom of the transclusion.
You can use this method to style the transclusion block
<$let source-style="border: 1px solid gray; border-style: dotted; padding: 15px">{{Cosmobiology zoom notes||source}}</$let>
Also you can use the references[]
operator to list on the transcluded tiddler where it has being transcluded, and I expect relink plugin to work if the transcluded tiddler is renamed. I included it in the above.
I am building this further,
- perhaps a separate tiddler for inline transclusions.
- also a variable or set of named classes
- a method to have the view template applied to the transclusion.