Looking for help: improve the index of the R Markdown book

Since I have received feedback on the index of the R Markdown book from two independent readers, I thought I should spend more time on improving it. Currently the index page (the last page of the PDF) of the book contains too few entries to be really helpful.

The task is relatively simple (and also kind of boring): go through all Rmd source files in the repo https://github.com/rstudio/rmarkdown-book, and insert \index{keyword} wherever you think is appropriate. Here is an example: https://github.com/rstudio/rmarkdown-book/pull/18

A couple of things before you start:

  1. Special LaTeX characters in \index{} should be escaped, e.g., \index{rmarkdown::html\_document}.

  2. Please don't add an entry only because a keyword appeared there. The keyword needs to be relevant to that page. It may require you to read the context a little carefully to decide whether an index entry should be inserted there.

  3. I prefer one pull request per chapter if possible.

If anyone is interested in helping, please let me know. Thanks!