On 02/09/2012 9:48 AM, Ethan Jucovy wrote:


Looking at that documentation, I think you need to do it without the [[braces]] 
and also put the
macro's argument(s) on a new, indented line -- try this:

{{{
#!rst
.. code-block:: Image

   convert.png
}}}

Or a more concise alternative that Trac's RST formatter supports is

{{{
#!rst
:code-block:`Image:convert.png`
}}}

Those both work for me.


Hi Ethan, that works for me as well. I had been playing some more and tried the second form but, while the error message disappeared, the image didn't appear, and just the line as text was there, so I thought it wasn't working. By closely comparing yours with mine I realized that I had an extra space between the : and ` so

:code-block: `Image:convert.png`
was treated as text but
:code-block:`Image:convert.png`
inserted the image correctly

Thanks for your help,
Dennis

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