[tw5] Transclusion through template --- preserve wikitex formatting

My `ContactInformation’ tiddler contains:

<$list filter="[contains:participants!sort[on]]">
<$link />

{{!!text}}




</$list>

My ‘KG More1’ tiddler’s participants field contains [[King George]] and its text contains:

  • Item 1
  • Item 2

My ‘KG More2’ tiddler’s participants field contains [[King George]] and its text contains:

Some large block of text

My ‘King George’ tiddler contains:

{{||ContactInformation}}

The wikitex formatting in ‘KG More1’ is lost when transcluded.

How do I ensure that it is preserved?

replace {{!!text}} with <$transclude mode=“block”/>

enjoy,

-e

Thanks. That worked perfectly.

For background on what’s going on here, see Block Mode and Inline Mode in Grok TiddlyWiki.

Hello Soren,

Yes. I have gone through Grok TiddlyWiki. What an excellent reference it is.

Much of my confidence in tweaking TiddlyWiki comes from reading that book/ wiki.