# Heading level 1 is the syntax for adding a heading in Markdown and we need to increase the count of # to increase the corresponding heading levels like ###Heading Level 3 , but is their any limit on adding the number of headings in markdown?
Yes, there is a limit, you can add 6 hash characters the most.
h1 # h1
h2 ## h2
h3 ### h3
h4 #### h4
h5 ##### h5
h6 ###### h6
In case you were asking if there is a limit of using headers in markdown, the general rule is to use only 1 # H1 - this is the title of the post/page. The other headers are generally speaking unlimited, but you should not overdo them. It all depends on the context.
E.g. You have a blog post named "5 steps for making Turkish coffee"
h1 - 5 steps for making Turkish coffee
h2 - Step 1, Step 2, etc
h3 - Ingredients / tools you need
In this context, I don't know what h4-6 would be used for. People really rarely use those.
Hi, Milica thanks for replying!
I was wondering how there cannot be a limit to the headings as it would make it much more tedious and compromising as per security purposes
if we don't set any limit on it!
Milica Maksimović
founder Literally.dev, ex-Growth @wasp, former Community Manager @Hashnode
Yes, there is a limit, you can add 6 hash characters the most.
h1
# h1h2
## h2h3
### h3h4
#### h4h5
##### h5h6
###### h6In case you were asking if there is a limit of using headers in markdown, the general rule is to use only 1
# H1- this is the title of the post/page. The other headers are generally speaking unlimited, but you should not overdo them. It all depends on the context.E.g. You have a blog post named "5 steps for making Turkish coffee"
In this context, I don't know what h4-6 would be used for. People really rarely use those.