Pakillo / rmdTemplates

Rmarkdown templates for reproducible science
128 stars 23 forks source link

`robobook` template does not display TOC correctly when `toc_depth: 4` #15

Closed chamaoskurumi closed 2 years ago

chamaoskurumi commented 2 years ago

Using rmdformats::robobook with toc_depth: 4 results in a cut off view of the headers of fourth order:

image

The yaml header I'm using:

---
title: "Test"
date: "`r Sys.Date()`"
output:
  rmdformats::robobook:
    highlight: kate
    self_contained: true
    toc_depth: 4
---

See this test.Rmd minimal working example (you have to rename it to .Rmd, Github does not allow uploads of .Rmd files)