Markdown Cheat Sheet

Markdown Cheat Sheet

Overview :

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents.

  • Headings
  • Styling Texts
  • Paragraphs
  • Link
  • Images
  • Lists
  • Ordered List
  • Unordered List
  • Table
  • Line break
  • Horizontal Rule (Line)
  • Code Blocks
  • Inline code

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
#####  Heading 5
######  Heading 6

Preview

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Styling Texts

**Bold**  or  __Bold__ 

*Italic*  or  _Italic_  

**_Bold and Italic_**    or   ***Bold and Italic***

~~Strikethrough~~

Preview

Bold or Bold

Italic or Italic

Bold and Italic

Bold and Italic

Strikethrough

Paragraphs

This is the first paragraph

This is the second paragraph

Preview

This is the first paragraph

This is the second paragraph

Syntax :
Link: [title](website link)

Example :
Link: [LCO](https://web.learncodeonline.in/)

Preview

Check out this awesome website for the best courses LCO.

Images

Syntax :
![Title of image](Image Link)

Example :
![image](https://image link..)

Preview

Lco logo


Lists

Ordered List

To create an ordered list, add line items with numbers followed by periods. The numbers don’t have to be in numerical order, but the list should start with the number one.

1. item 1
2. item 2
    1. nested item 1
    2. nested item 2
1. item 3

Preview

  1. item 1
  2. item 2
    1. nested item 1
    2. nested item 2
  3. item 3

Unordered Lists

To create an unordered list, add dashes (-), asterisks (*), or plus signs (+) in front of line items. Indent one or more items to create a nested list.

- item 1
   - nested item 1
   - nested item 2
- item 2
- item 3

Preview

  • item 1
    • nested item 1
    • nested item 2
  • item 2
  • item 3

Table

| Header       | Header       |
| ------------ | ------------ |
| Content Cell | Content Cell |
| Content Cell | Content Cell |

Preview

HeaderHeader
Content CellContent Cell
Content CellContent Cell

Line break

Hello\
World

Preview

Hello\ world

Horizontal Rule (Line)

*****
Or
-----
Or
_____

Preview




Code Blocks

To display any block of code, simply wrap the code block with ( ``` ).

```
print("Hello! world")
```

Preview

print("Hello! world")

Inline code

Use the Grave accent keys ` for the inline code snippets

 This is a typical sentence with `some code` in it.

Preview

This is a typical sentence with some code in it.

Blockquotes

> hello guys this is a nice cheat sheet for markdown

> Blockquotes
>> Nested Blockquotes

Preview

hello guys this is a nice cheat sheet for markdown

Blockquotes

Nested Blockquotes

Conclusion

These are some basic markdown syntax,there are more syntaxes that we will discuss later on here to make markdown files that look beautiful.