Pandoc list depth limitation
Possibly update Basic TeX installation.
Make sure enumitem package is availble
sudo tlmgr update --self
sudo tlmgr install enumitem
Then use enumitem to expand allowed depth by added this to markdown document
---
header-includes:
- \usepackage{enumitem}
- \setlistdepth{5}
- \renewlist{itemize}{itemize}{20}
- \renewlist{enumerate}{enumerate}{20}
- \setlist[itemize]{label=\textbullet}
output:
rmarkdown::pdf_document:
keep_tex: yes
---
References
- deeper nested lists in pandoc/markdownn
- BasicTeX
- pandoc manual - "a universal document converter"
- Easy LaTeX with Markdown and Pandoc