Wonderful :-) Thanks a lot!
On Saturday, April 1, 2023 at 8:29:50 PM UTC+2 Eric Shulman wrote:
> 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/54077926-1228-4550-b3d3-21c59b10f2d1n%40googlegroups.com.