Markdown Syntax - A Comprehensive Formatting Guide

Markdown Syntax - A Comprehensive Formatting Guide

By Michael Turner

December 10, 2024 at 09:16 PM

Markdown is a simple markup language designed for writing formatted text easily. This guide covers essential Markdown syntax elements.

Text Formatting

Italics: Use single asterisks or underscores
Bold: Use double asterisks or underscores
Bold and Italic: Combine both

Links

Inline link: Link text
Reference link: [Link text][reference]
[reference]: URL

Superscript and Subscript

Superscript: E=MC^2
Subscript: CO2

Images

Inline image:

Squarespace logo in white

Squarespace logo in white

Reference style:

Squarespace logo in white

Squarespace logo in white

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 level quote

Nested quote

  • Quoted list item

Code

Inline code:

code here

Code blocks: Code goes here More code here

Horizontal Rules


Line Breaks
End a line with two spaces
to create a line break

Text Styles

Text can be styled with various combinations of formatting for emphasis and clarity. Remember that supported styles may vary depending on the platform or editor being used.

Related Articles

Previous Articles