Syntax highlight in GtkDoc



Hi list,

I'm writing documentation for my project with GtkDoc and I don't know how to get examples highlighted, as in gtk api documentation.
My commentary is like this:

/**
 * SECTION: foo
 * @shor_description: Foobar
 * @title: Foo bar
 * 
 * A long description of my module.
 * 
 * <example>
 * <title>Foo</title>
 * <programlisting>
 * // some code
 * </programlisting>
 * </example>
 */

So, how can I make the example code highlighted?

Cheers,
Ian L.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]