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/919bf8a4-14d2-465e-8284-2d14e02dfc8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to