Back to Editor

Markdown Cheat Sheet

A complete reference guide with examples and live previews for all Markdown elements

Headers

# H1 Header ## H2 Header ### H3 Header #### H4 Header ##### H5 Header ###### H6 Header

H1 Header

H2 Header

H3 Header

H4 Header

H5 Header
H6 Header

Text Rules

**Bold Text** *Italic Text* ~~Strikethrough Text~~ ***Bold and Italic***

Bold Text
Italic Text
Strikethrough Text
Bold and Italic

Links

[Google](https://www.google.com) [Google with title](https://www.google.com "Google")

Images

![Google Logo](/public/assets/base_content/google.png) ![Google Logo with title](/public/assets/base_content/google.png "Google Logo")
Google Logo

Blockquotes

> This is a blockquote. > It can span multiple lines. > > > And even be nested.

This is a blockquote.
It can span multiple lines.

And even be nested.

Horizontal Lines

Text above the line --- Text below the line

Text above the line


Text below the line

Inline & Block Code

Use `console.log()` for debugging. ```javascript function helloWorld() { console.log('Hello, world!'); } ```

Use console.log() for debugging.

function helloWorld() {
  console.log('Hello, world!');
}

Tables

| Header 1 | Header 2 | Header 3 | |----------|:--------:|---------:| | Cell 1 | Cell 2 | Cell 3 | | Left | Center | Right |
Header 1 Header 2 Header 3
Cell 1 Cell 2 Cell 3
Left Center Right

Line Breaks

This is the first line. This is the second line after two spaces. This is after a blank line.

This is the first line.
This is the second line after two spaces.

This is after a blank line.

Comments

This text is visible. More visible text.

This text is visible.

More visible text.

Charts (Mermaid)

```mermaid pie title Pets adopted by volunteers "Dogs" : 386 "Cats" : 85 "Rats" : 15 ```

Mermaid chart would be rendered here. Note: Mermaid requires additional library.

Pie Chart Example

Dogs: 386

Cats: 85

Rats: 15

Code copied to clipboard!