Thanks. I was expecting the macros in the same order as in HTML, getting <a><img /></a>.
Anyway I think that reformatting the second part of a link with the wiki formatter would be a more powerful solution, allowing arbitrary macros. Regards, Norbert -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von Noah Kantrowitz Gesendet: Mittwoch, 30. April 2008 18:11 An: [email protected] Betreff: [Trac] Re: Recursive macro replacement? Wenzel, Norbert wrote: > Hi, > > I was wondering how to create linked images in a wiki page and to my > surprise found the following: > [[Image(example.jpg, link=http://example.org)]] > > I would consider it more straightforward to write links and images as > usual. That would result in the following code: > [http://example.org [[Image(example.jpg)]] ] This is recursive, just in the other direction. [[Image(file.png, link=[ticket:32 The ticket])]] is quite valid. It processes the link using the wiki formatter. --Noah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
