Guide

A Beginner's Guide to Markdown Syntax

Updated July 10, 2026

Markdown is a lightweight markup language that allows you to format plain text using simple, intuitive symbols. Created in 2004 by John Gruber and Aaron Swartz, it has since become the standard for writing on the web—used everywhere from GitHub and Reddit to blogging platforms and note-taking apps.

If you’ve ever wanted a fast, distraction-free way to write structured documents without navigating endless menus and toolbars, Markdown is the answer. In this beginner’s guide, we will cover the essential Markdown syntax you need to get started.

1. Headings

Headings are created by adding one or more hash symbols (#) before your text. The number of hashes corresponds to the heading level (from H1 to H6).

# Heading 1 (Main Title)
## Heading 2 (Section)
### Heading 3 (Subsection)
#### Heading 4

Pro tip: Always leave a space between the hash and the text.

2. Text Emphasis

You can easily make text bold or italic using asterisks (*) or underscores (_).

  • Italic: Wrap text in single asterisks or underscores.
    *This is italic* or _This is italic_
  • Bold: Wrap text in double asterisks or underscores.
    **This is bold** or __This is bold__
  • Bold and Italic: Use three asterisks.
    ***This is bold and italic***

3. Lists

Markdown supports both unordered (bulleted) and ordered (numbered) lists.

Unordered Lists

Use a dash (-), asterisk (*), or plus sign (+) followed by a space.

- Apples
- Bananas
- Oranges

Ordered Lists

Use a number followed by a period. Interestingly, the numbers don’t actually have to be in order in your text file; the Markdown renderer will automatically sequence them correctly.

1. First item
2. Second item
3. Third item

Creating hyperlinks in Markdown is simple. Wrap the display text in square brackets [] and the URL immediately after in parentheses ().

[Visit our Editor](/editor)
[Google](https://www.google.com)

5. Images

Images use almost the same syntax as links, but they are preceded by an exclamation mark (!). The text in the square brackets serves as the “alt text” for the image.

![A cute kitten](https://example.com/kitten.jpg)

6. Blockquotes

If you want to quote a passage of text, use the greater-than sign (>) before the line.

> "Simplicity is the ultimate sophistication." - Leonardo da Vinci

7. Code

For technical writers and developers, formatting code is a must.

  • Inline code: Wrap the text in single backticks `.

    Use the `print()` function.
  • Code blocks: Wrap multiple lines of code in triple backticks. You can also specify the programming language for syntax highlighting.

    ```python
    def hello_world():
        print("Hello, Markdown!")

8. Horizontal Rules

To create a horizontal line (a thematic break), use three or more asterisks, dashes, or underscores on a line by themselves.

---

Conclusion

The beauty of Markdown lies in its simplicity. After a few days of use, these syntax rules will become muscle memory, allowing you to write formatted documents faster than ever before. To practice what you’ve learned, head over to our Markdown Editor and start typing!

Written by Markdown to PDF Editorial Team

Our team specializes in document design, web standards, and developer utilities. This guide was researched and vetted against current browser printing standards and Paged.js specifications. Learn more on our About page.

Try it yourself — free, no signup

Convert your Markdown to a polished PDF right in your browser.

Open the editor