Just seen this - very nice I will use this method. Thanks for creating and 
sharing TiddlyRemember!

On Sunday, 2 August 2020 at 17:29:34 UTC+1 soren.b...@gmail.com wrote:

> Hi all,
>
> In the follow-up around the web to the release of TiddlyRemember 
> <https://groups.google.com/forum/#!searchin/tiddlywiki/TiddlyRemember%7Csort:date/tiddlywiki/UD6VyV_r-94/GUnAemoBAgAJ>,
>  
> some people took issue with the approach of putting questions in macro 
> calls, wishing instead questions could be placed in individual tiddlers. 
> Well, it turns out this was actually possible the whole time and neither I 
> nor anyone asking ever thought of it! All you have to do is create a sort 
> of "aggregation" tiddler with a list snippet like this:
>
> <$list filter="[tag[TiddlyRememberNote]]">
>   <$macrocall $name=rememberq id={{!!created}} question={{!!question}} 
> answer={{!!answer}}/>
> </$list>
>
> Then you just create tiddlers with question and answer fields tagged with 
> *TiddlyRememberNote*, and all the questions will show up in this tiddler. 
> Make sure that the filter pulling the tiddlers that should be searched to 
> retrieve notes matches this tiddler, and you're set. Of course, this is 
> just one example – any data you can retrieve with filters can be used to 
> generate TiddlyRemember notes in the same fashion.
>
> There's one issue with the version above: the reference on each Anki note 
> would just point back to the aggregation tiddler, which isn't very useful. 
> TiddlyRemember 1.1.0 (released today) now supports an optional fourth
> * reference* parameter to the macro, which causes the reference to point 
> back to a specified tiddler instead of the tiddler the macro call is found 
> in. In the example above, we could say *reference={{!!title}}* and the 
> references would then point back to the actual question tiddler instead.
>
> This can also be used to fix a problem that occasionally arose in the 
> previous version, where if you needed to transclude a tiddler containing 
> TiddlyRemember questions into another tiddler, the source would randomly 
> oscillate between the two since either one looked like it contained the 
> question!\
>
> For more, see Dynamically generating TiddlyRemember notes 
> <https://sobjornstad.github.io/TiddlyRemember/#Dynamically%20generating%20TiddlyRemember%20notes>
>  and 
> Soft and hard references 
> <https://sobjornstad.github.io/TiddlyRemember/#Soft%20and%20hard%20references>
> .
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de70d18c-3ace-4198-8131-39381e2c3713n%40googlegroups.com.

Reply via email to