Bob's Basic Guide to Markdown

A Quick and Practical Guide to Markdown Syntax You Can Use Right Now

Bob's Basic Guide to Markdown
BJ
Bob James
4 min read
1 votes
0 comments

Markdown syntax you can copy, adapt, and use immediately in your own content.

Markdown is a lightweight markup language used to format text. I'm using it right now to write this basic examples of Markdown article.

Let's get started with what you'll learn and showcase some of Markdown's features.


What You'll Learn 🚀

  1. Headings and Structure: How to organize content clearly with H1-H6 and sections
  2. Core Formatting: How to use bold, italic, lists, quotes, and horizontal rules
  3. Links, Images + Code: Add clickable links, embed images, and syntax-highlighted code blocks
  4. Tables and List Patterns: Format a table, task lists, and snippets

Scan through and by the end, you'll have a solid Markdown toolkit you can use right away.



Let's jump straight into it. Ready to format like a pro?

Headings

Markdown
# H1
## H2
### H3
#### H4
##### H5
###### H6

Text Styling

  • Italic
  • Bold
  • Bold Italic
  • Strikethrough
  • ==Highlight== (if your renderer supports it)
  • Underline (requires HTML)
Markdown
- *Italic*
- **Bold**
- ***Bold Italic***
- ~~Strikethrough~~
- ==Highlight== (if your renderer supports it)
- <u>Underline</u> (requires HTML)

Lists

Unordered List

  • Item A
    • Subitem A1
    • Subitem A2
  • Item B
Markdown
- Item A
  - Subitem A1
  - Subitem A2
- Item B

Ordered List

  1. First
  2. Second
    1. Sub-second
  3. Third
Markdown
1. First
2. Second
   1. Sub-second
3. Third

Visit OpenAI

Markdown
[Visit OpenAI](https://openai.com)

Image:

Pictures Icon

Markdown
![Pictures Icon](/images/icons/pictures.png)

💡 Tip: Did you notice this is similar to a normal link with anchor text? The ! denotes render the image and your Markdown processor will use the link text as the image alt text for accessibility.


Code

Inline code

Use console.log("Hello, world!") to print a message.

Markdown
Use `console.log("Hello, world!")` to print a message.

Code Block

TypeScript
function greet(name: string): void {
  console.log(`Hello, ${name}`);
}
greet("Bob");
Markdown
```ts
function greet(name: string): void {
  console.log(`Hello, ${name}`);
}
greet("Bob");
```

Blockquotes

"Markdown is easy to learn and powerful to use."
— A wise developer

Markdown
> "Markdown is easy to learn and powerful to use."  
> — A wise developer

Tables

Feature Supported Notes
Headings H1–H6 levels
Code Blocks With syntax highlighting
HTML ⚠️ Depends on renderer
Markdown
| Feature     | Supported | Notes                   |
|-------------|-----------|--------------------------|
| Headings    || H1–H6 levels             |
| Code Blocks || With syntax highlighting |
| HTML        | ⚠️        | Depends on renderer      |

Task Lists

  • Write an article
  • Push to Git
  • Tweet about it
Markdown
- [x] Write an article  
- [ ] Push to Git  
- [ ] Tweet about it

Horizontal Rules

Use three or more dashes or asterisks:


Markdown
---

Bonus: Tips and More Code Blocks

💡 Tip: Callouts, or alerts.

Markdown
> 💡 **Tip:** Callouts, or alerts.

Code Block (Bash)

Shell
# Create a new folder and initialize Git
mkdir my-project
cd my-project
git init

Add Language to Codeblocks

Markdown
```bash
# Create a new folder and initialize Git
mkdir my-project
cd my-project
git init
```

Code Block (JSON)

JSON
{
"title": "My First Article",
"published": true,
"tags": ["markdown", "guide", "example"]
}
Markdown
```json
{
"title": "My First Article",
"published": true,
"tags": ["markdown", "guide", "example"]
}
```

And for Markdown? Oh my, use four backticks ````markdown


Thats all folks!

Thank you for reading a Bob's Basics Article. You now know the basics of Markdown.
Use your knowledge wisely, be ethical with your castings and format your content like a pro!

Login to vote on this article

Share:

Discussion

Login to add a comment

No comments yet 🤯 but its such an awesome article.
Be the first to comment and start a discussion 🤗