Markdown Language Syntax: A Comprehensive Cheat Sheet Guide

Markdown Language Syntax: A Comprehensive Cheat Sheet Guide

By Michael Turner

December 10, 2024 at 10:24 PM

A comprehensive guide to Markdown syntax and formatting rules.

Emphasis

  • Italic: Wrap text with single asterisks
  • Bold: Use double asterisks
  • Bold and Italic: Combine with triple asterisks

Links

  • Inline: text
  • Reference-style: [text][label] Later define: [label]: URL "optional title"

Superscript and Subscript

  • Superscript: E=MC^2^
  • Subscript: CO2

Images

  • Inline:
    alt text

    alt text

  • Reference: ![alt text][image-label]

Squarespace Login Page

Squarespace Login Page

Squarespace White Logo

Squarespace White Logo

Headings

  • Level 1: Single hash

  • Level 2: Double hash

  • Level 3: Triple hash

Lists

  1. Ordered lists use numbers
  2. Each item on new line

Unordered lists:

  • Use hyphen
  • Or asterisk
    • Indent for nesting
    • Multiple levels possible

Blockquotes

Use greater-than symbol

Nest by using multiple symbols

  • Can include lists
  • And other elements

Code

  • Inline code
    uses backticks
  • Code blocks: Indent 4 spaces or use triple backticks

Horizontal Rules

Use three hyphens, asterisks, or underscores

Line Breaks End a line with two spaces
For a manual break

Text Styling

  • Regular text
  • Bold text
  • Italic text
  • Bold italic text

This guide covers essential Markdown syntax for effective documentation and content creation. Use these elements to structure and format your text for better readability and organization.

Related Articles

Previous Articles