Syntax highlight in GtkDoc
- From: Ian Liu Rodrigues <ian liu88 gmail com>
- To: Gnome List <gtk-list gnome org>
- Subject: Syntax highlight in GtkDoc
- Date: Thu, 5 Aug 2010 09:55:08 -0300
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]