Quick Reference

Cheatsheets

Practical command references for Linux, networking, servers, containers, databases, and more.

Cheatsheet#markdown-cheatsheet

Markdown Cheatsheet

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

Headings

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

Text Formatting

**Bold Text** or __Bold Text__
*Italic Text* or _Italic Text_
~~Strikethrough~~
`Inline Code`

Lists

Unordered Lists

- Item 1
- Item 2
  - Sub-item 2.1
  - Sub-item 2.2

Ordered Lists

1. First item
2. Second item
   1. Sub-item 2.1
   2. Sub-item 2.2

Task Lists

- [x] Completed task
- [ ] Incomplete task
[Link Text](https://example.com)
[Link Text with Title](https://example.com "Tooltip Title")
 
![Alt Text](/path/to/image.jpg)

Blockquotes

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

Code Blocks

Use three backticks (```) and optionally specify the language for syntax highlighting.

function greet() {
  console.log("Hello, World!");
}

Tables

| Syntax      | Description |
| ----------- | ----------- |
| Header      | Title       |
| Paragraph   | Text        |

Horizontal Rule

---

Extended Syntax (GitHub Flavored Markdown)

Footnotes

Here's a simple footnote,1 and here's a longer one.2

Alerts (Callouts)

[!NOTE] Useful information that users should know, even when skimming content.

[!TIP] Helpful advice for doing things better or more easily.

[!IMPORTANT] Key information users need to know to achieve their goal.

[!WARNING] Urgent info that needs immediate user attention to avoid problems.

[!CAUTION] Advises about risks or negative outcomes of certain actions.

Footnotes

  1. This is the first footnote.

  2. Here's one with multiple paragraphs and code.