Hi,

right now, it's possible to "embed" an image in the wiki using a file attached to the wiki page, simply with:

[[Image(attachment:filename.png)]]

where filename.png is a file attached to the current page.

I was wondering if it's possible to do the same for other type of files, so they are embedded in the wiki, and using syntax highlighting. I mean doing something like:

[[xml(attachment:mydocument.xml)]]

where mydocument.xml is an XML file attached to the wiki page, instead of:

{{{
#!xml
<xml ....>
<my_xml_document>
...
</my_xml_document>
}}}

would be really nice..

Is it possible to do this with Trac or any existing plugin? If not, I think it would be an interesting feature.

Thanks very much.

--
Álvaro J. Iradier Muro
Departamento de Desarrollo
[email protected]

Polar Technologies
T +34 976 527 952
F +34 976 466 125
www.polartech.es

Antes de imprimir este mensaje, por favor, compruebe que es verdaderamente
necesario. El medioambiente es cosa de todos.

AVISO LEGAL
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener
información confidencial, siendo para uso exclusivo del destinatario,
quedando prohibida su divulgación, copia o distribución a terceros sin la
autorización expresa del remitente. Si Vd. ha recibido este mensaje
erróneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboración.

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