I want to insert a smoothing slide at the beginning, but not at the very beginning.
In addition, I want the content slide to repeat each time a new section appears, but from now on everything is grayed out except for the current section, for example, see image.
( this other answer will not work, because toc: true just puts one table of contents at the very beginning)
Some KIND answers exist in Latex (see here ), but I donβt know how to implement them as part of markdowns. More generally, I find it difficult to integrate liner-based latex into rmarkdown, so if someone can show me how to do this, esp with this example, this is useful.

Preamble Beamer:
output:
beamer_presentation:
fig_width: 7
fig_height: 6
fig_caption: false
slide_level: 3
includes:
in_header: ~/Google Drive/.../.../../latexbeamertheme.r
header-includes:
- \AtBeginSection[]{\begin{frame}\tableofcontents[currentsection]\end{frame}}