Re: [tw] Re: [TW5] How to combine/transclude codeblock tiddlers?

2014-08-28 Thread Branimir Braykov
On Thursday, August 28, 2014 2:26:27 PM UTC+3, Jeremy Ruston wrote: > > > The highlight plugin currently applies to all instances of the codeblock > widget, including those generated automatically by the core when > transcluding non-wikitext tiddlers. > > Strange. I wonder what language it is t

Re: [tw] Re: [TW5] How to combine/transclude codeblock tiddlers?

2014-08-28 Thread Jeremy Ruston
Hi Branimir > There is one unexpected glitch, however. After converting my tiddlers, for > some unknown reason they look like parsed with the "highlight" plugin that > I have. > I don't know if this is a bug or it's intentional, but I will ignore this > for now. > The highlight plugin currently

[tw] Re: [TW5] How to combine/transclude codeblock tiddlers?

2014-08-28 Thread Branimir Braykov
Thank you for this info. I didn't know that setting a tiddler as text/plain displays it like a codeblock. This is the thing that suits me most. So here's what I did: converted my tiddler types to text/plain and used this: > <$view tiddler="text1"/> > <$view tiddler="text2"/> > It is perfect,

Re: [tw] Re: [TW5] How to combine/transclude codeblock tiddlers?

2014-08-27 Thread Jeremy Ruston
Hi Branimir Apologies, I missed out a couple of points: you'll need to remove the triple backticks from your code tiddlers. If you still want those tiddlers to display as fixed width text then you can give them the type text/plain. In terms of transclusion, there's basically two ways of doing it:

[tw] Re: [TW5] How to combine/transclude codeblock tiddlers?

2014-08-27 Thread Branimir Braykov
Hi, Jeremy, 10x for your quick answer. I tried the proposed way, but the resulting block includes a lot of ``` as they become part of the text. My actual tiddlers only include something like: > ``` > text > more text > ``` I was originaly trying to follow the logic as explained in TranscludeWid