Markdown

Markdown are a simple and functional text file that is suitable to be used to make article.

This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements edited from The Markdown Guide!

Basic Syntax

Heading

Use some # to indicate headings]

# Header 1
## Header 2

Bold and Italic

**bold text**
--- (This is a horizontal line)
*italicized text*

bold text


italicized text

Blockquote

>blockquote message

blockquote

Ordered List

1. First item
2. Second item
3. Third item
  1. First item
  2. Second item
  3. Third item

Unordered List

- First item
- Second item
- Third item
  - x
  - y
  • First item
  • Second item
  • Third item
    • x
    • y

Code

`code` or ``` multiple line codes```

code

[Markdown Guide](https://www.markdownguide.org)

Markdown Guide

Image

![alt text](https://www.markdownguide.org/assets/images/tux.png)

alt text

Extended Syntax

These elements extend the basic syntax by adding additional features. Not all Markdown applications support these elements.

Table

| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |
SyntaxDescription
HeaderTitle
ParagraphText

Footnote

Here's a sentence with a footnote. Look at the footnote at the bottom of the page. [^1]

[^1]: This is the footnote.

Here’s a sentence with a footnote. Look at the footnote at the bottom of the page. 1

Heading ID

#### My Great Heading {#custom-id}

My Great Heading

Definition List

term
: definition
term
definition

Strikethrough

~~The world is flat.~~

The world is flat.

Task List

- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
  • Write the press release
  • Update the website
  • Contact the media

Emoji

That is so funny! :joy:

That is so funny! 😂 (See also Copying and Pasting Emoji)

Highlight

I need to highlight these ==very important words==.

I need to highlight these ==very important words==.

Subscript and Superscript

H~2~O X^2^

H~2~O X^2^

Json

```json
    {
      "firstName": "John",
      "lastName": "Smith",
      "age": 25
    }
     ``` (This should be indent to the left)
    {
      "firstName": "John",
      "lastName": "Smith",
      "age": 25
    }

  1. This is the footnote. ↩︎