Markdown Syntax: A Comprehensive Cheat Sheet Guide

Markdown Syntax: A Comprehensive Cheat Sheet Guide

By Michael Turner

December 10, 2024 at 08:17 PM

A comprehensive guide to Markdown syntax and formatting rules to help you create well-structured documents.

Text Formatting

Italics: Wrap text with single asterisks or underscores Bold: Use double asterisks or underscores Bold and Italic: Combine both with triple asterisks

Links

Inline link: Link text Reference link: [Link text][reference] [reference]: URL "Optional title"

Superscript and Subscript

Superscript: X^2^ Subscript: H2O

Squarespace logo

Squarespace logo

White Squarespace logo on black background

White Squarespace logo on black background

Headings

Heading 1

Heading 2

Heading 3

Lists

Ordered Lists:

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

Unordered Lists:

  • Item one
  • Item two
  • Item three

Nested Lists:

  • Main item
    • Sub-item
    • Sub-item
      • Sub-sub-item

Blockquotes

Single line quote

Nested quote

  • Quoted list
  • Another item

Code

Inline code:

code

Code blocks:

    Multiple     lines     of code    

Horizontal Rules


Line Breaks

End a line with two spaces
to create a line break

Text Styling

Colored text Custom font

This guide covers essential Markdown elements for creating well-formatted documents. Use these elements to structure your content effectively and enhance readability.

Related Articles

Previous Articles