Linda, Is it too much for you to put
<<myMacro [[link to format]]>> [[link to format]] in your tiddler? Or you may be able to keep [[link to format]] in your tiddler only inside a html div with a display none style, which will still act as a link and generate backlinks? Regards Tony On Tuesday, 19 February 2019 05:40:38 UTC+11, Linda Moss wrote: > > Hi! > > There's a certain kind of link I wanted formatted a certain way, so I > created a macro: > > <<myMacro "link to format">> > > which applied the necessary formatting. > > But of course, this broke all my backlinks. So I changed it to: > > <<myMacro [[link to format]]>> > > but because the link is an argument to a macro, it is still unrecognized, > and my backlinks are still broken. > > Is there a way to apply formatting to a certain kind of link (without > putting the formatting inline every single time) and still have the > backlinks work? > > > Thanks! > > PS: I also went down a rabbit trail of trying to regain the backlinks by > way of a macro calling a list filtered with > "[!is[system]regexp:text[$term$]]", because the text of these links is > unlikely to appear anywhere other than the title of the linked tiddler and > places intentionally referencing that title. However, most of these links > would need to be escaped, and I couldn't figure out how to get > escaperegexp[] to work inside the filter to escape $term$ before it was > searched. > > Now, starting fresh, I might name all the tiddlers that would be receiving > such a link so as to prevent the need for escaperegexp[], but as it stands, > there are over a thousand of them, (and they follow a specific naming > convention that other things are based). > -- 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/7bf787d7-5bf1-493d-bc81-cb2caae20c70%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

