mirror of https://github.com/thangisme/notes.git
66 lines
1.5 KiB
Markdown
66 lines
1.5 KiB
Markdown
|
---
|
||
|
layout: default
|
||
|
title: Ordered lists
|
||
|
parent: Styling
|
||
|
grand_parent: Tests
|
||
|
---
|
||
|
|
||
|
# Ordered lists
|
||
|
|
||
|
The first child element of each `li` element in an `ol` list should be aligned with the preceding label in the following examples.
|
||
|
|
||
|
1. paragraph text
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. ### Header
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. > block quote
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. ```sh
|
||
|
fenced code block
|
||
|
```
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. + unordered list item
|
||
|
+ unordered list item
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. 1. ordered list item
|
||
|
2. ordered list item
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. term
|
||
|
: description
|
||
|
|
||
|
term
|
||
|
: description
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. |-----------------+------------+-----------------+----------------|
|
||
|
| Default aligned |Left aligned| Center aligned | Right aligned |
|
||
|
|-----------------|:-----------|:---------------:|---------------:|
|
||
|
| First body part |Second cell | Third cell | fourth cell |
|
||
|
| Second line |foo | **strong** | baz |
|
||
|
| Third line |quux | baz | bar |
|
||
|
|-----------------+------------+-----------------+----------------|
|
||
|
| Second body | | | |
|
||
|
| 2 line | | | |
|
||
|
|=================+============+=================+================|
|
||
|
| Footer row | | | |
|
||
|
|-----------------+------------+-----------------+----------------|
|
||
|
|
||
|
paragraph text
|
||
|
|
||
|
1. ***
|
||
|
|
||
|
paragraph text
|