Markdown

Tip

Styling Text

StyleSyntaxExampleOutput
Bold** ** or __ __**This is bold text**This is bold text
Italic* * or _ __This text is italicized_This text is italicized
Strikethrough~~ ~~ or ~ ~~~This was mistaken text~~This was mistaken text

Quoting Text

Markdown
> Text that is a quote

Output

Text that is a quote

Quoting Code

Inline

Markdown
Use `git status` to list all new or modified files that haven't yet been committed.

Output

Use git status to list all new or modified files that haven’t yet been committed.

Code Blocks

Markdown
```rust
fn main() {
    println!("Hello, world!");
}
```

Output

fn main() {
    println!("Hello, world!");
}

Code Windows

Markdown
```rust { title="Hello World!" link="https://github.com/org/repo/blob/main/content/file.md?plain=1#L8-L12" }
fn main() {
    println!("Hello, world!");
}
```

Output

Hello World!
fn main() {
    println!("Hello, world!");
}

External/ Absolute

Markdown
This site was built using [GitHub Pages](https://pages.github.com/).

Output

This site was built using GitHub Pages.

Internal/ Relative

Markdown
Link to [Embeds](/docs/short-codes/#embeds). If same page: Link to [Inline](#inline).

Output

Link to Embeds. If same page: Link to Inline.

Images

Markdown
![Colorful galaxy](file-name.jpg)
With a caption
![Colorful galaxy](https://images.unsplash.com/photo-1464802686167-b939a6910659?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2650&q=80)
Image credit: [Jeremy Thomas](https://unsplash.com/@jeremythomasphoto)

Output

Colorful galaxy Image credit: Jeremy Thomas

Lists

Ordered

Markdown
1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
2. Ut eu elit at eros gravida consequat.
  1. Nulla pharetra elit non risus semper scelerisque.
     1. Duis ut ex ac dolor pretium consequat.

Output

  1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  2. Ut eu elit at eros gravida consequat.
    1. Nulla pharetra elit non risus semper scelerisque.
      1. Duis ut ex ac dolor pretium consequat.

Unordered

Markdown
- Nulla in ante feugiat, consequat lectus et, porttitor orci
- Quisque auctor quam nec diam maximus venenatis
  - Quisque ac neque sit amet nulla efficitur ultrices
    - Nullam vitae odio a nibh pellentesque auctor.
- Suspendisse aliquam est gravida lectus eleifend, ac vehicula turpis sagittis
- Duis eu neque eu tellus ultrices gravida

Output

  • Nulla in ante feugiat, consequat lectus et, porttitor orci
  • Quisque auctor quam nec diam maximus venenatis
    • Quisque ac neque sit amet nulla efficitur ultrices
      • Nullam vitae odio a nibh pellentesque auctor.
  • Suspendisse aliquam est gravida lectus eleifend, ac vehicula turpis sagittis
  • Duis eu neque eu tellus ultrices gravida

Task

Markdown
- [x] Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- [x] Ut eu elit at eros gravida consequat.
- [x] Nulla pharetra elit non risus semper scelerisque.
- [ ] Duis ut ex ac dolor pretium consequat.

Output

  • Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  • Ut eu elit at eros gravida consequat.
  • Nulla pharetra elit non risus semper scelerisque.
  • Duis ut ex ac dolor pretium consequat.

Alerts

Markdown
> [!note]
> Great design is making something intelligible, not memorable.

> [!tip]
> Efficiency is doing things right; effectiveness is doing the right things.

> [!important]
> Focus on the signal, ignore the noise.

> [!warning]
> An ounce of prevention is worth a pound of cure.

> [!caution]
> Look before you leap, for as you love, you may stumble.

> [!search]
> The only mistake is not looking for what you need.

> [!assignment]
> The secret of getting ahead is getting started.

> [!lab]
> Mistakes are the portals of discovery.

> [!recap]
> To understand the future, you must learn from the past.

> [!note] **Customized** _title_
> Great design is making something intelligible, not memorable.

Output

Note

Great design is making something intelligible, not memorable.

Tip

Efficiency is doing things right; effectiveness is doing the right things.

Important

Focus on the signal, ignore the noise.

Warning

An ounce of prevention is worth a pound of cure.

Caution

Look before you leap, for as you love, you may stumble.

Assignment

The secret of getting ahead is getting started.

Lab

Mistakes are the portals of discovery.

Recap

To understand the future, you must learn from the past.

Customized title

Great design is making something intelligible, not memorable.

Tables

Markdown
| DATA TYPE | MIN | MAX                                     |
| --------- | --- | --------------------------------------- |
| u8        | 0   | 255                                     |
| u16       | 0   | 65535                                   |
| u32       | 0   | 4294967295                              |
| u64       | 0   | 18446744073709551615                    |
| u128      | 0   | 340282366920938463463374607431768211455 |

Output

DATA TYPEMINMAX
u80255
u16065535
u3204294967295
u64018446744073709551615
u1280340282366920938463463374607431768211455