Back to FAQ

How to indent in markdown?

Learn how to create indentation in Markdown documents.

How to Indent in Markdown

Markdown doesn't have a direct indentation syntax, but there are several ways to create indented content.

Methods for Indentation

  • Nested lists: Use spaces before list markers to create nested items
  • Blockquotes: Use > for indented quotes
  • Code blocks: Indentation is preserved in code blocks

Example: Nested Lists

- First level
  - Second level (2 spaces)
    - Third level (4 spaces)