Given this example yaml, the code folding buttons render on the right:
--- title: "Some Title" output: html_document: code_folding: hide theme