The one minute possibility and example (use in tiddler at tiddlywiki.com to see). Could use some improvement undoubtedly:
\define searchme(searchthis)
<$button popup="$:/SamplePopupState">$searchthis$</$button>
<$reveal type="popup" state="$:/SamplePopupState">
<div class="tc-drop-down">
<<list-links "[search[$searchthis$]]">>
</div>
</$reveal>
\end
I am looking for <<searchme Editions>> to write about.
If you make the searchme macro global, then you can use <<searchme "Lorem">> wherever you want.
-- Mark
\define searchme(searchthis)
<$button>$searchthis$
<$action-setfield $tiddler="$:/temp/search" text="$searchthis$"/>
</$button>
\end
I am looking for <<searchme Editions>> to write about.