Awesome, thanks!!
Yes I understand hehe, but the purpose is to be able to generate dynamic 
code, so when you define some tiddler values, it will render with the 
values for a specific setup, but still commented as code.

Thanks again :D

On Monday, December 5, 2016 at 8:54:45 PM UTC+1, Mark S. wrote:
>
> The whole point of the comment text is to show the literal value of the 
> following text. But you can interpolate into the text if you move the 
> actual text into a macro and then pass the terms you want as arguments. 
> Here is an example:
>
> \define mytext(word1 word2)
> ```
> This is my template that features the word: $word1$ and the word $word2$. 
> Aren't they great?
> ```
> \end
>
> <<mytext chicken cat>>
>
> HTH
> Mark
>
>
> On Monday, December 5, 2016 at 10:46:58 AM UTC-8, Fidel N wrote:
>>
>> Hey all:
>>
>> Is there a way to render a variable (or the content of another tiddler) 
>> within commented text?
>>
>> For instance, say our variable <<my_variable>> contains the value "apple":
>>
>> Is there any way to make the following tw text:
>>
>> ```
>> This is my text
>> <<my_variable>>
>> ```
>>
>> Render as:
>>
>> This is my text
>> apple
>>
>> Thanks!
>>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3f1211fe-57c4-4c0a-830c-5749a4226329%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to