Lists
Ordered Lists:
An ordered list defines a list of items in which the order of the items matter.
1. First item
2. Second item
3. Third item
Output:
- First item
- Second item
- Third item
Ordered List with Sublists:
An ordered list with sublists is a hierarchical list where each item can have its own sublist. This structure is useful for organizing information in a structured and hierarchical manner.
1. Item 1
1. Item 2
- Item 3
2. Item 1
1. Item 2
3. Item 1
1. Item 2
Output:
- Item 1
- Item 2
- Item 3
- Item 2
- Item 1
- Item 2
- Item 1
- Item 2
Unordered Lists:
With the asterisk(*), plus (+), or minus (-) signs, we can make unordered lists as demonstrated below:
With plus(+)
Output:
+ Item 1
+ Item 2
With asterisk(*)
Output:
* Item 1
* Item 2
With minus(-)
Output:
- Item 1
- Item 2
Unordered Nested Lists:
Similar to sorted lists, unordered lists can likewise be nested into several sublists below them. The markdown example that follows demonstrates the use of nested unordered lists.
- Item 1
- Item 2
- Item 3
- Item 1
- Item 2
- Item 1
- Item 2
Output:
- Item 1
- Item 2
- Item 3
- Item 2
- Item 1
- Item 2
- Item 1
- Item 2
Markdown Cheat Sheet
Markdown is a simple way to write and format text using plain text symbols. It’s a lightweight language that lets you create nicely formatted text without the use of complex coding. The idea is to make it easy for people to read and understand the formatting, even if they’re looking at the raw text.
This cheat sheet will go over some of the key components of markdown, including code syntaxes and examples that the reader can use to create their own highly formatted text articles.
Contact Us