summaryrefslogtreecommitdiff
path: root/pango/pango-markup.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-02-04 17:57:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-03-11 13:17:36 -0500
commitbc2106a9e19b412c22390b8709d6ea2bc4df179d (patch)
tree0fac475d51e8a172aa86e25312e3ce3e2c7847c2 /pango/pango-markup.c
parent7d3628ba5dfb173bc8b1d5e7ad0a214d428fb6a7 (diff)
downloadpango-bc2106a9e19b412c22390b8709d6ea2bc4df179d.tar.gz
docs: Replace lots of vestigial xml markup
We want to use pure markdown, since docbook is going away as the intermediate format.
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r--pango/pango-markup.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index d0b47016..1c074fd6 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -51,9 +51,9 @@
* pango_markup_parser_new().
*
* A simple example of a marked-up string might be:
- * |[
+ * ```
* <span foreground="blue" size="x-large">Blue text</span> is <i>cool</i>!
- * ]|
+ * ```
*
* Pango uses #GMarkup to parse this language, which means that XML
* features such as numeric character entities such as `&#169;` for
@@ -790,7 +790,7 @@ pango_markup_parser_new_internal (char accel_marker,
/**
* pango_parse_markup:
- * @markup_text: markup to parse (see <link linkend="PangoMarkupFormat">markup format</link>)
+ * @markup_text: markup to parse (see the Pango Markup docs)
* @length: length of @markup_text, or -1 if nul-terminated
* @accel_marker: character that precedes an accelerator, or 0 for none
* @attr_list: (out) (allow-none): address of return location for a #PangoAttrList, or %NULL
@@ -798,8 +798,7 @@ pango_markup_parser_new_internal (char accel_marker,
* @accel_char: (out) (allow-none): address of return location for accelerator char, or %NULL
* @error: address of return location for errors, or %NULL
*
- * Parses marked-up text (see
- * <link linkend="PangoMarkupFormat">markup format</link>) to create
+ * Parses marked-up text (see the Pango Markup docs) to create
* a plain-text string and an attribute list.
*
* If @accel_marker is nonzero, the given character will mark the
@@ -872,8 +871,7 @@ pango_parse_markup (const char *markup_text,
* pango_markup_parser_new:
* @accel_marker: character that precedes an accelerator, or 0 for none
*
- * Parses marked-up text (see
- * <link linkend="PangoMarkupFormat">markup format</link>) to create
+ * Parses marked-up text (see the Pango Markp docs) to create
* a plain-text string and an attribute list.
*
* If @accel_marker is nonzero, the given character will mark the