Ah, thanks - this works well.

Is there a short-hand for including an entire file? I seem to need to supply 
the id regardless.

Is there a macro that lets me dump the output of running a program into the 
docs? E.g. if the docs describe building a java command-line app, it would be 
nice to run it during the site build and capture the output into the docs 
directly.

Matthew

On Monday 12 May 2008, Vincent Siveton wrote:
> Hi,
>
> Try  the following according [1]
>
> <macro name="snippet">
>   <param name="id" value="myid"/>
>   <param name="url" value="http://myserver/path/to/file.txt"/>
> </macro>
>
> Cheers,
>
> Vincent
>
> [1] http://maven.apache.org/doxia/macros/index.html

Reply via email to