Yes, it seems is the wikify moment I was missing.
By codeblock I mean the CodeBlockWidget or just to have this text in <pre> 
tags and have the exactly as this is made in tiddlywiki.com. Examples are 
all in a codeblock with the option to copy it to the clipboard, the button 
properly aligned to the top right of the text. Minus the Try button part.

On Thursday, November 28, 2019 at 1:33:10 AM UTC+2, Mark S. wrote:
>
> Not sure what you mean by "codeblock" in this context.
>
> But if you were using the copy-to-clipboard macro, then you could wikify 
> the text first:
>
> <$wikify name="copyme" text={{!!c}}>
> <$macrocall $name="copy-to-clipboard" src=<<copyme>>/>
> </$wikify>
>
>
> On Wednesday, November 27, 2019 at 2:39:36 PM UTC-8, Branimir Braykov 
> wrote:
>>
>> I have problems figuring out how to (properly) achieve the following:
>> I have a tiddler called "test". There are 3 fields in it:
>>
>>    - field a = abc
>>    - field b = def
>>    But
>>    - field c = {{!!a}}-concat-{{!!b}}
>>
>> When I just test with transclude, field c as {{test!!c}} in another 
>> tiddler I see the rendered concatenated value: abc-concat-def. But if I 
>> try to put it in a codeblock widget I get this its definition: 
>> {{!!a}}-concat-{{!!b}}.
>>
>> Now what I eventually want is to display the value of test!!c within a 
>> codeblock with a copy-to-clipboard button.
>>
>

-- 
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/302d8061-440c-4a21-9e1c-da8368fdf093%40googlegroups.com.

Reply via email to