Creating a collapsible section in .Rmd file in Distill

As shown in the screenshot below, I would like to get a Collapsible Section (that is revealed/hidden when clicking the "plus" sign) in a Distill article.

What code should I try in the .Rmd document to achieve this ?

My knowledge of R markdown is relatively rudimentary.



This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.