From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6CC70138350 for ; Fri, 6 Mar 2020 16:30:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F7D4E086C; Fri, 6 Mar 2020 16:30:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D5AAAE086C for ; Fri, 6 Mar 2020 16:30:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 550E534EEE6 for ; Fri, 6 Mar 2020 16:30:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8775310A for ; Fri, 6 Mar 2020 16:30:52 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1583511813.d7fd191af16b7ebe32ea13d5bef2c7ef1f0da538.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: appendices/devbook-guide/ X-VCS-Repository: proj/devmanual X-VCS-Files: appendices/devbook-guide/text.xml X-VCS-Directories: appendices/devbook-guide/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d7fd191af16b7ebe32ea13d5bef2c7ef1f0da538 X-VCS-Branch: master Date: Fri, 6 Mar 2020 16:30:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c07146a-9258-4d1f-8067-7903f96b3bd2 X-Archives-Hash: 66363947e91a343a515f1ea7e995f944 commit: d7fd191af16b7ebe32ea13d5bef2c7ef1f0da538 Author: Ulrich Müller gentoo org> AuthorDate: Fri Mar 6 16:23:33 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Mar 6 16:23:33 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d7fd191a devbook-guide: Restore example for nested lists. This partially reverts commit 491304c. Signed-off-by: Ulrich Müller gentoo.org> appendices/devbook-guide/text.xml | 40 ++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/appendices/devbook-guide/text.xml b/appendices/devbook-guide/text.xml index 26de10e..51e8a8d 100644 --- a/appendices/devbook-guide/text.xml +++ b/appendices/devbook-guide/text.xml @@ -465,18 +465,48 @@ that you must close all tags including list items unlike in HTML.

Definition lists (<dl>) are also supported. Please note that -neither the definition term tag (<dt>) nor the definition data tag -(<dd>) accept any other block level tag such as paragraphs or -admonitions. A definition list comprises: +the definition term tag (<dt>) does not accept any other block +level tag such as paragraphs or admonitions. A definition list comprises:

<dl>
A Definition List Tag containing
<dt>
-
Definition Term Tags,
+
Definition Term Tags
<dd>
-
each followed by one or more Definition Data Tags.
+
and Definition Data Tags.
+
+ +

+The following example copied from +w3.org +shows that lists may also be nested and different list types may be used +together: +

+ +
+
The ingredients:
+
+
    +
  • 100 g flour
  • +
  • 10 g sugar
  • +
  • 1 cup water
  • +
  • 2 eggs
  • +
  • salt, pepper
  • +
+
+
The procedure:
+
+
    +
  1. Mix dry ingredients thoroughly.
  2. +
  3. Pour in wet ingredients.
  4. +
  5. Mix for 10 minutes.
  6. +
  7. Bake for one hour at 300 degrees.
  8. +
+
+
Notes:
+
The recipe may be improved by adding raisins.