rmarkdown section title as variable ##

---
title: "Your Title"
output: html_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
# Your variable for the section title
section_title <- "Your Section Title"

r section_title

This is the content of your R Markdown document. ```