On Monday, December 11, 2017 at 4:31:01 AM UTC+1, Mark S. wrote:
>
> I'm more worried about transclusions, since they would be used for 
> insertion of _canonical_uri images. It's the images and the supporting 
> tiddlers that would be hived off. 
>

The code would be similar to the link-widget detection, which has to check 
the parsetree for every tiddler. Since this calculation is "expensive", the 
results are cached internally, to speed up further searches. 

So detecting the transclusion-widget would result in similar code, which is 
relatively low level. But the code is nicely separated, so it should be 
doable.  

Link detection can be found in wiki.js 
<https://github.com/Jermolene/TiddlyWiki5/blob/9b2d9169464754a3fddfba0efd098724dbf649d1/core/modules/wiki.js#L398-L440>
 

-m

-- 
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/f03531f0-7700-412c-a3a6-77d974b6f14d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to