Hi Tobias
When I try that on five.tw.com, I get the source text, the rendered HTML
and then the HTML source.
Your example suggests that you were expecting to be able to indirect macro
parameters in the same way that one can element/widget attributes. To be
clear:
* <div class={{MyTiddler}}> - will assign the value of the tiddler
"MyTiddler" to the "class" attribute of the DIV element
* <<myMacro {{MyTiddler}}>> - pass "{{MyTiddler}}" as the macro argument
(not the value of the tiddler)
If you wanted to transclude the source of a tiddler into a code block you'd
need to do something like this:
<pre>
<$view tiddler="HelloThere" format="text"/>
</pre>
Best wishes
Jeremy
On Sat, Sep 21, 2013 at 3:33 PM, Tobias Beer <[email protected]> wrote:
>
> I entered this...
>>
>> <<wikitext-example src:"{{Press}}">>
>>
>> ...below the macro declaration in the *WikiText *tiddler on *@five* and
>> what I get isn't what I expected...
>>
>> {{Press}}
>>
>> What I expected was the source of the *Press* tiddler in a pre-block.
>>
>
> In fact, all of the following also render the above...
>
> - <<wikitext-example src:{{Press}}>>
> - <<wikitext-example {{Press}}>>
> - <<wikitext-example "{{Press}}">>
>
> - tb
>
--
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/groups/opt_out.