[gtk/ebassi/gidocgen: 277/465] entry: Use markdown for css tree




commit acd8adaa6ecd4444c8a86ce22a62374316ac2c9f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 27 19:46:32 2021 -0500

    entry: Use markdown for css tree

 gtk/gtkentry.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index ef295fef58..8a1262bf14 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -114,13 +114,13 @@
  *
  * # CSS nodes
  *
- * |[<!-- language="plain" -->
+ * ```
  * entry[.flat][.warning][.error]
  * ├── text[.readonly]
  * ├── image.left
  * ├── image.right
  * ╰── [progress[.pulse]]
- * ]|
+ * ```
  *
  * `GtkEntry` has a main node with the name entry. Depending on the properties
  * of the entry, the style classes .read-only and .flat may appear. The style
@@ -144,14 +144,14 @@
  * this label.
  *
  * An example of a UI definition fragment specifying Pango attributes:
- * |[
+ * ```xml
  * <object class="GtkEnry">
  *   <attributes>
  *     <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
  *     <attribute name="background" value="red" start="5" end="10"/>
  *   </attributes>
  * </object>
- * ]|
+ * ```
  *
  * The start and end attributes specify the range of characters to which the
  * Pango attribute applies. If start and end are not specified, the attribute


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