show all code chunk and hide selected one code chunk in quarto blog

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
    code_folding: hide

1  # code is hidden initially
2  # code is shown initially
3  # also hidden

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.