komadown provides R Markdown templates for the KOMA-Script classes (currently only koma-scartcl). It is intended only for pdf (LaTeX) output.
It wraps around bookdown to enable cross-referencing of figures, sections. theorems, and equations.
You can install komadown from CRAN with
install.packages("komadown")
or install the latest development version from github with
# install.packages("remotes")
remotes::install_github("jolars/komadown")