0
Fixed

TOC does not show # headers

bijzz 4 years ago • updated by Yu Yao 3 months ago 6
When i have a document like:

```
[toc]
# header 1
## header a
## header b
# header 2
### header c
```

I get a toc like:

```
header a
header b
 header c
```

but why do the `#` instaces not show up?

Under review
Main title (#) is not include into TOC. You can check index of any book and Wikipedia.
So It would be nice if separate two docs or like follow doc.  

```
# main header

[TOC]

## header 1
### header a
### header b
## header 2
### Header c
```
Oh, okay, in this context it does make sense.

It did confuse me at first as it is implemented differently in other markdown editors (e.g. stackedit).

Thanks for the clarification.
then, i guess the document has to be updated. Because, current document has an example of TOC with h1 header in it.

while,now it still only support for heading2. Heading1(#) is not contained in "toc" command. I just search how to solve this, I found this website, others' answers remind me that # is maybe for title of article.

Hi,

To me TOC means to be able to see the full table of content, same like in Google Docs, same like in Word.

When I compare the HAroopad behavior with them, it's kind of strange that it only starts from Heading2...


Is there any chance you will change the behavior to match a classical TOC?


Thanks!