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)]] ]
 
That would mean the link macro would interpret the first part as a link
and the second part as normal wiki text, which is processed by the wiki
engine. Therefore the image macro wouldn' t have to deal with links
itself. 
 
I use a trac installation with a lot of extensions and found every
extension writing it's own markup code. With recursive macro replacement
a chart drawing plugin might create an image, attach it to the wiki page
and replace itself with [[Image(generatedChart.png)]] and tell trac to
reparse it's result. Therefore all links would be created by only one
macro which could easily be adopted to ones needs.
 
Any comments on that?
 
regards,
Norbert

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to