Hi Branimir I would like to use Transclude widget to combine them as a single block. >
Yes, that makes sense. > I tried this: > >> <$transclude tiddler="Tiddler 1" mode=block/> >> <$transclude tiddler="Tiddler 2" mode=block/> > > But I still get two separate codeblocks. > TiddlyWiki doesn't merge consecutive code blocks. I'm not sure that it should, though, what do others think? Surrounding these two widget calls with ``` also doesn't work as it does > not get wikified. > > So how do I do that? > There are two parts to the answer: * Use an explicit <code> tag inside a <pre> tag instead of the triple backticks syntax * Rather than transcluding the target tiddlers (which causes them to be wikified), use the view widget to render them in plain text The end result would be something like this: <pre><code> <$view tiddler="text1"/> <$view tiddler="text2"/> </code></pre> Would that work for you? Best wishes Jeremy > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

