Sorry I could only copy some part because the whole json is too long and slack won't allow me to send it
Aug 11, 2021, 9:54 PM
I see that the bullets have level set to 1 on them. But I can't find the level property on the node
Aug 11, 2021, 10:26 PM
@knut (he/him) Hi I added some ordered list to your codeSandBox and it was also included in the table of content. Please how do I exclude the ordered list?
Aug 12, 2021, 12:37 PM
Maybe you could fork my codesandbox and insert your JSON document there?
Aug 12, 2021, 12:44 PM
No, It seems you don't understand what I meant. Your code works correctly but in your case, there weren't any bullet points in your content. Am trying to say that when there is a bullet point in the content it also gets added to the table of content which is not what I wanted. I only want the h1,h2,h3,h4 to show excluding the bullet points.
Aug 12, 2021, 1:13 PM
Please don't worry I have figured it out. Thanks for helping👌