Thank you very much. That worked find. I tried all sorts of variants that seemed vaguely likely, but not that one. Every time I get back into doing something significant with TW, I have to relearn the model. I know that it's fairly logical and self-consistent, but I can't seem to keep it in my head.
-- Scott On Monday, May 11, 2020 at 2:38:39 PM UTC-4, Scott Sauyet wrote: > > I would like to grab some code for a codeblock from the text of another > tiddler, all taking place inside a <$list>. This is what I tried: > > <details> > <summary>Helpers</summary> > <$list filter="[tag[MyTag]sort[title]]"> > <$link><$transclude field="name" mode="block"/></$link> > <$codeblock language="javascript"><$transclude field="text" > mode="block"/></$codeblock> > </$list> > </details> > > > But that doesn't properly get the text. Just plain transcluding the field > works fine: > > <$transclude field="text" mode="block"/> > > > And of course a codeblock that gets its data from another tiddler works > fine: > > <details> > <summary>Schema</summary> > <$codeblock code={{MyTiddler}} language="json"/> > </details> > > > But my attempt to combine them didn't work. Nor did several other > syntaxes I guessed at. Is there a good way to do this? > > -- Scott > > > -- 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/49a3b618-e926-4f71-9d40-d8d154fe45bd%40googlegroups.com.