[gtk/ebassi/gidocgen: 283/471] entry: Use markdown for css tree
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 283/471] entry: Use markdown for css tree
- Date: Mon, 8 Mar 2021 18:23:23 +0000 (UTC)
commit aee36265b711a10363864c3b905a5cfecba805f6
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]