Does this help?
\define reveallink(link, state)
<$reveal type="nomatch" state="$state$" text="show">
<$button set="$state$" setTo="show" class="btn-invisible btn-link">
$link$
</$button>
</$reveal>
<$reveal type="match" state="$state$" text="show">
<$button set="$state$" setTo="hide" class="btn-invisible btn-link">
$link$
</$button>
</$reveal>
\end
\define revealtiddler(childtiddler, state) <$reveal type="match" state=
"$state$" text="show">$childtiddler$</$reveal>
Used like this:
This is a paragraph in the containing tiddler that contains the
<<reveallink "link" "$:/temp/SampleState">> to reveal the child tiddler.
This is some more text to fill up the paragraph.
<<revealtiddler "{{child tiddler}}" "$:/temp/SampleState">>
--
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/d/optout.