--toc-depth
Previously only top-level sections were ever included in the TOC, regardless of the setting of `--toc-depth`. Closes #9861.
pandoc
init.lua