'Headings not working in my R markdown file
So I recently finished my R notebook, and noticed something once i decided to knit the markdown file. None of the headings or bullet points were working! I had to install XQuartz to finish knitting the markdown file since I have a mac. Is this something that's normal or can I fix this. Any advice is welcome!
Solution 1:[1]
I haven't seen your rmarkdown, but I suspect that you need to add a blank line above each heading. For example, putting a heading right after a list (or any other structure) sometimes results in problems:
1. First item
2. Second item
3. Third item
# First level heading
However, adding a blank line before each heading usually fixes the problem:
1. First item
2. Second item
3. Third item
# First level heading
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Joel Schneider |