Does anyone know why my rmarkdown header cannot show succesfully in the pdfout?

Viewed 275

When I write:

#Head1  
##Head2  
###Head3  
####Head4  

The first three headers are successfully displayed in the pdf output.
But for the ###Head4, it cannot separate with the next line, the next line sentence just starts at the end of the head, not automatically start a new line.

I tried to add a double space after the Head4, it still failed.

I also tried to add a blank line after Head4, but it still failed!

Could anyone help me to deal with this issue? Thanks a lot!!!!

enter image description here

enter image description here

1 Answers

not best practice probably, but a good ol' <br> would probably do it.

Related