On Wednesday, October 11, 2017 at 9:45:52 AM UTC+2, AlexHough wrote: > > When you create a link in a documentation macro, that link doesn't show up > as a reference. >
That's right. The reference mechanism parses the tiddler source (one level deep) and looks for a "type: link" combination in the AST <https://en.wikipedia.org/wiki/Abstract_syntax_tree>, produced by [[link-syntax]] Since a macro call isn't a link, it isn't seen. .. That's "kind of" desired behaviour, since link-references should show up in tiddlers that define the link and not where they are eg: transcluded. ... But IMO they main reason is performance. ... If you would search deeper it would be incredibly slow and recursion problems will come up immediately. > I've started to adapt the documentation macros for my own use, it would be > handy if they created a reference in the linked-to tiddler > What do you try to achieve? -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/185f6073-ff20-4f97-a4ff-27a7505c9c4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

