Markdown Toolbox Logo Markdown Toolbox
Home
Blog

Creating Sublists in Markdown

Saturday, March 9, 2024

Short version

- Main list item
  - Sublist item

Long version

Introduction

Creating organized lists in Markdown can enhance the readability of your document. Sublists further improve this organization by allowing hierarchical structuring.

Step-By-Step Guide

  1. Create the main list item: Start your list as usual with hyphens (-) or asterisks (*).
  2. Indent Sublist: For a sublist, indent the line (two spaces recommended) followed by a hyphen or asterisk.

Example

Indentation determines the level of the list item, allowing multiple sub-levels.

Conclusion

Sublists in Markdown are simple to create and can significantly enhance the structure and clarity of your documents. Remember to consistently use indentation to manage the hierarchy of list items.