Instead of using simple transclusion (i.e., `{{TiddlerTitle}}`) use the
`$codeblock` widget, like this:
`<$codeblock code={{TiddlerTitle}}/>`
On Saturday, April 1, 2023 at 11:08:53 AM UTC-7 [email protected] wrote:
> Interestingly, when I transclude the node, it's still rendered as a wiki
> tiddler, not as code. I wonder, Eric, if, from the top of your head, you'd
> know how to work around that?
> Thanks again, Gabriel
>
> On Saturday, April 1, 2023 at 8:02:29 PM UTC+2 Gabriel Montagné
> Láscaris-Comneno wrote:
>
>> Amazing Eric! Worked perfectly. And thanks for the link and
>> explanation! I'll use the Discourse server for these type of questions
>> going forward.
>> Again, 1000 thanks!
>> Cheers,
>> Gabriel
>>
>> On Saturday, April 1, 2023 at 6:35:04 PM UTC+2 Eric Shulman wrote:
>>
>>> Addendum:
>>>
>>> Instead of
>>>
>>> [type[text/x-fountain]then[$:/core/ui/ViewTemplate/body/rendered-plain-text]]
>>>
>>> your cascade definition should be:
>>> [type[text/x-fountain]then[$:/core/ui/ViewTemplate/body/code]]
>>>
>>> The difference is that the first definition will render embedded
>>> wikitext syntax,
>>> while the second definition simply displays the content as plain text
>>> without any other processing.
>>>
>>> -e
>>>
>>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2e23c278-cdd7-4b80-995c-d0198c47aab6n%40googlegroups.com.