182-7"><a href="rmarkdown.html#cb182-7" tabindex="-1"></a><span class="co">    toc: true</span></span>
<span id="cb182-8"><a href="rmarkdown.html#cb182-8" tabindex="-1"></a><span class="co">    toc_depth: 2</span></span>
<span id="cb182-9"><a href="rmarkdown.html#cb182-9" tabindex="-1"></a><span class="co">---</span></span></code></pre></div>
<p>The option <code>toc: true</code> activates the table of contents. You can then list
additional options to tweak the appearance of the table of contents. For
exampl