How to create a nested list in Hashnode

Creating nested list when writing articles in Hashnode

Nested lists

When writing in Hashnode, we have the beautiful quick-menu to add Codeblocks, Headers, Quotes, and lists. But adding a nested list is not so obvious on how to write. Like this:

  • 1 level
    • 2 levels
      • 3 levels
    • 2 levels
      • 3 levels
        • 4 levels

For clarification, when I write "dash", I refer to this symbol: -

Here is how we create nested lists in Hashnode:

  • Level 1 : Start a new line with 0 spaces, then 1 dash, then 1 space.
  • Level 2: Start a new line with 2 spaces, then 1 dash, then 1 space.
  • Level 3: Start a new line with 4 spaces, then 1 dash, then 1 space.
  • Level 4: Start a new line with 6 spaces, then 1 dash, then 1 space.

Basically, add 2 extra spaces before the dash to go 1 level deeper into the nested list.