I bet it's possible to have the preview pane give you a preview according to the template you need.
I've just discovered that I can get such an effect within dynamic tables (which can toggle their expanded rows into edit mode). See this thread: https://talk.tiddlywiki.org/t/hacking-tbl-expand-with-templates-in-shiraz-dynamic-tables/5824/7 I suspect part of the explanation has to do with how the preview pane works for "draft of" tiddlers, if/when you haven't specified a different Edit template (via the cascade for edit mode) There are various plugins that offer editing interfaces that edit without setting up a "draft of" tiddler, and these may help you (or anyone working regularly with templates other than the default one) to see a live preview of your edits in progress as they would appear in their "final" form. (Then again, if you're looking for a completely non-wikified mode, is the preview pane doing anything useful for you at all? Wouldn't you just toggle that preview pane off for these tiddlers?) On Saturday, April 1, 2023 at 4:29:15 PM UTC-4 Gabriel Montagné Láscaris-Comneno wrote: > The editor preview is also rendering it as a wiki tiddler, not as code. I > can live with that, but I was hoping there'd be a fundamental "and here is > how you render this type of tiddler" way. > Still, it's incredible how flexible TW is! > > Cheers, > Gabriel > > On Saturday, April 1, 2023 at 8:35:59 PM UTC+2 Gabriel Montagné > Láscaris-Comneno wrote: > >> 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/2fc662a1-b0b3-47a0-a7fe-4c0f770acf07n%40googlegroups.com.

