Skip to content

Commit 7d032a8

Browse files
committed
Add list section to adding elements section
1 parent 50c2d61 commit 7d032a8

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

manuscript/chapter3.md

+38
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,44 @@ The rendered output looks like this:
639639

640640
3. Close the file.
641641

642+
#### Lists
643+
644+
You can nest an unordered list in an ordered list, or vice versa.
645+
646+
{title="Markdown"}
647+
~~~~~~~
648+
1. First item
649+
2. Second item
650+
3. Third item
651+
- Indented item
652+
- Indented item
653+
4. Fourth item
654+
~~~~~~~
655+
656+
{title="HTML", lang=html}
657+
~~~~~~~
658+
<ol>
659+
<li>First item</li>
660+
<li>Second item</li>
661+
<li>Third item
662+
<ul>
663+
<li>Indented item</li>
664+
<li>Indented item</li>
665+
</ul>
666+
</li>
667+
<li>Fourth item</li>
668+
</ol>
669+
~~~~~~~
670+
671+
The rendered output looks like this:
672+
673+
1. First item
674+
2. Second item
675+
3. Third item
676+
- Indented item
677+
- Indented item
678+
4. Fourth item
679+
642680
## Code {#code}
643681

644682
To denote a word or phrase as code, enclose it in backticks (`` ` ``).

0 commit comments

Comments
 (0)