Syntax highlight in GtkDoc

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

 



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.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux