---
# System prepended metadata

title: markdown syntax guide
tags: [codeLab]

---


# markdown syntax guide

Markdown provides an easy and intuitive way to format text without the need for complex HTML or formatting tools. It's what hackMD docs are written in. Let's explore the essential Markdown syntax:

**Headers**
Create headers using hash (#) symbols. The number of hash symbols determines the header level.

# Heading 1
## Heading 2
### Heading 3

**Emphasis**
Emphasize text using asterisks (*) or underscores (_).

*Italic* or _Italic_
**Bold** or __Bold__

**Lists**
Create ordered and unordered lists using numbers or hyphens/asterisks.

1. Item 1
2. Item 2
- Unordered Item 1
- Unordered Item 2

**Links**
Add links using square brackets for the link text and parentheses for the URL.

[Visit Google](https://www.google.com)
Images
Embed images similarly to links, with an exclamation mark (!) at the beginning.


![alt text](https://files.slack.com/files-pri/T0HTW3H0V-F05KACBR0MP/forchristine.png?pub_secret=511bb467cf)

**Blockquotes**
Create blockquotes using the greater-than (>) symbol.

> This is a blockquote.

**Code**
Inline code uses backticks ( `) and code blocks use triple backticks.
`code`

**Horizontal Rule**
Insert a horizontal rule using three hyphens (---) or three asterisks (***).

**Tables**
Create tables using pipes (|) to separate cells.

| Header 1 | Header 2 |
| -------- | -------- |
| Content 1| Content 2|
Escaping Characters
Use a backslash (\) to escape characters that have Markdown formatting.



## Resources
* [Markdown Cheatsheet: A comprehensive Markdown cheat sheet with examples.](https://www.markdownguide.org/cheat-sheet/)
* [GitHub Markdown Guide: A GitHub-specific Markdown guide.](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)
