From 99b53a0aaf5432057849fbf98b3666b688974030 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 1 Feb 2014 10:15:52 -0500 Subject: [PATCH] gmarkup: Convert docs to markdown In particular, convert lists to markdown syntax. --- glib/gmarkup.c | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/glib/gmarkup.c b/glib/gmarkup.c index b9c88a96c..78198e46d 100644 --- a/glib/gmarkup.c +++ b/glib/gmarkup.c @@ -39,8 +39,7 @@ /** * SECTION:markup - * @Title: Simple XML Subset Parser - * @Short_description: parses a subset of XML + * @Title: Simple XML Subset Parser * @Short_description: parses a subset of XML * @See_also: XML * Specification * @@ -56,31 +55,33 @@ * * GMarkup is not guaranteed to signal an error on all invalid XML; * the parser may accept documents that an XML parser would not. - * However, XML documents which are not well-formedBeing wellformed is a weaker condition than being - * valid. See the XML - * specification for definitions of these terms. - * are not considered valid GMarkup documents. + * However, XML documents which are not well-formed (which is a + * weaker condition than being valid. See the + * XML specification + * for definitions of these terms.) are not considered valid GMarkup documents. * * Simplifications to XML include: - * - * Only UTF-8 encoding is allowed - * No user-defined entities - * Processing instructions, comments and the doctype declaration - * are "passed through" but are not interpreted in any way - * No DTD or validation. - * + * + * - Only UTF-8 encoding is allowed + * + * - No user-defined entities + * + * - Processing instructions, comments and the doctype declaration + * are "passed through" but are not interpreted in any way + * + * - No DTD or validation * * The markup format does support: - * - * Elements - * Attributes - * 5 standard entities: - * & < > " ' - * - * Character references - * Sections marked as CDATA - * + * + * - Elements + * + * - Attributes + * + * - 5 standard entities: & < > " ' + * + * - Character references + * + * - Sections marked as CDATA */ G_DEFINE_QUARK (g-markup-error-quark, g_markup_error)