4.18 Omit a heading in the table of contents
If you do not want certain section headings to be included in the table of contents, you can add two classes to the heading: unlisted
and unnumbered
. For example:
# Section heading {.unlisted .unnumbered}
Note that this feature requires at least Pandoc 2.10. You may check your Pandoc version via rmarkdown::pandoc_version()
. If the version is lower than 2.10, you may install a newer version (see Section 1.1).
当前内容版权归 Chapman & Hall/CRC 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Chapman & Hall/CRC .