Format toc numbers with "01", "02" instead "1", "2" in Rmarkdown

Hi!

I'd like to be able to format the toc number like this:

  • 01 First Section
  • 02 Second Section
  • and so on, until 09

By default it's:

  • 1 First Section
  • 2 Second Section

Is there a dedicated way to do that? At the moment the only way I found was to add some custom JS but it feels like I'm over engineering.