When I use #### for a level 4 heading, the output in pdf(latex) does not leave a line space before the paragraph begins. For example,
#### Heading 4
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type
specimen book.
Output only in pdf(latex) looks like this
Heading 4 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
I have read everywhere that r markdown allows 1-6 #’s for the headings, so I am trying to figure out what am I doing wrong here.
Also I figured I could use \subsubsubsubsection instead of #### for the heading but that gives me an error.