Allow the "Insert Section" tool in RMarkdown/Quarto code chunks

The RStudio IDE allows you to insert a section (special comment) into an R Script.

  • Code > Insert Section...
  • Ctrl + Shift + R

Would it be possible to allow this feature also within R Markdown/Quarto code chunks?

I know that I could structure the code into separate chunks but I still think adding sections helps to make it better structured. Also other people were looking for a similar feature

Thanks for your work!

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.