I'm trying to generate a html with a table of contents using the YAML header in R Notebook. I've found answers to this question (e.g., Adding a table of contents in an r notebook) but the code still isn't generating a toc on the html. I have specified headers using #, ##, etc
---
title: "CMiller_SentencesTask_Analysis"
author: "Chantal Miller"
output:
html_notebook:
toc: yes
---