Hi all
As our XWiki instance is mainly a documentation system, we have quite some “.sql” files attached to certain pages. Is there a way to show the content of these files nicely formatted?
Like
{{code language="sql"}}
{{include attachment="my_file.sql"}}
{{/code}}
Or even
{{include attachment="my_file.sql" language="sql"}}
I played around with the include macro. It offers the ATTACHMENT type, but I didn’t manage to include anything …
Thanks in advance
André