DEV Community

Discussion on: How to Manage the TOC of Articles on dev.to?

Collapse
 
helenanders26 profile image
Helen Anderson

Thank you! This is just what I’ve been looking for.

Collapse
 
bennycode profile image
Benny Code

The Editor Guide is also a nice resource to find out what's possible on dev.to: dev.to/p/editor_guide#markdown-links

Thread Thread
 
iamtodor profile image
iamtodor

I faced the issue when dev.to does not rended a few levels of table of content:

- [first](#first)
  * [second](#second)
    + [third](#third)

## first

first blah

### second 

second blah 

#### third

third blah
Enter fullscreen mode Exit fullscreen mode

While markdown is rendering it as three level of content dev.to renders it only as two. What is the best way to tackle this problem?

Image description

Thread Thread
 
sfiquet profile image
Sylvie Fiquet

I managed to get a third level by using a 5 space indent:

- level 1
  - level 2
     - level 3
Enter fullscreen mode Exit fullscreen mode
  • level 1
    • level 2
      • level 3

Not sure why a 4 space indent doesn't work, possibly because it's interpreted as code.