1
0
mirror of https://github.com/thangisme/notes.git synced 2024-10-31 17:27:17 -04:00
notes/docs/ui-components/lists.md
2019-01-14 14:43:29 -05:00

1.3 KiB

layout title parent nav_order
default Lists UI Components 5

Lists

{: .no_toc }

Table of contents

{: .no_toc .text-delta }

  1. TOC {:toc}

Most lists can be rendered with pure Markdown.

Unordered list

- Item 1 - Item 2 - Item 3

or

  • Item 1
  • Item 2
  • Item 3
```markdown - Item 1 - Item 2 - Item 3

or

  • Item 1
  • Item 2
  • Item 3

## Ordered list

<div class="code-example" markdown="1">
1. Item 1
1. Item 2
1. Item 3
</div>
```markdown
1. Item 1
1. Item 2
1. Item 3

Task list

- [ ] hello, this is a todo item - [ ] hello, this is another todo item - [x] goodbye, this item is done
```markdown - [ ] hello, this is a todo item - [ ] hello, this is another todo item - [x] goodbye, this item is done ```

Definition list

Definition lists require HTML syntax and aren't supported with the GitHub Flavored Markdown compiler.

Name
Godzilla
Born
1952
Birthplace
Japan
Color
Green
```html
Name
Godzilla
Born
1952
Birthplace
Japan
Color
Green
```