[gtk/ebassi/gidocgen: 289/481] comboboxtext: Use markdown for css tree




commit 628161af8a3643f38fb23f0474525da9c50574be
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 27 19:45:37 2021 -0500

    comboboxtext: Use markdown for css tree

 gtk/gtkcomboboxtext.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkcomboboxtext.c b/gtk/gtkcomboboxtext.c
index 694bf3b5b4..4d1ba8243b 100644
--- a/gtk/gtkcomboboxtext.c
+++ b/gtk/gtkcomboboxtext.c
@@ -64,7 +64,7 @@
  * translation attributes “translatable”, “context” and “comments”.
  *
  * Here is a UI definition fragment specifying `GtkComboBoxText` items:
- * |[
+ * ```xml
  * <object class="GtkComboBoxText">
  *   <items>
  *     <item translatable="yes" id="factory">Factory</item>
@@ -72,17 +72,17 @@
  *     <item translatable="yes" id="subway">Subway</item>
  *   </items>
  * </object>
- * ]|
+ * ```
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * combobox
  * ╰── box.linked
  *     ├── entry.combo
  *     ├── button.combo
  *     ╰── window.popup
- * ]|
+ * ```
  *
  * `GtkComboBoxText` has a single CSS node with name combobox. It adds
  * the style class .combo to the main CSS nodes of its entry and button


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