Add the option number_sections: true
to your YAML header:
---
title: "My Report"
output:
html_document:
number_sections: true
---
# Main Section
## 2nd Level
### 3rd Level
And voilá, your sections are numbered:
Add the option number_sections: true
to your YAML header:
---
title: "My Report"
output:
html_document:
number_sections: true
---
# Main Section
## 2nd Level
### 3rd Level
And voilá, your sections are numbered: