Following solution only work for rmarkdown and did not work on quarto blog. any know how to mimic following setting on quarto blog?
---
title: Hide all code blocks and show some initially
output:
html_document:
code_folding: hide
---
```{r}
1 # code is hidden initially
2 # code is shown initially
3 # also hidden