'Pagedown: Separate figure numbering for appendix/supplemental section?

Is there a possibility to separate/change figure numbering for the appendix/supplemental section in an R Pagedown document?

Something analog to the question/answer in this discussion (but for pagedown!): Rmarkdown/Bookdown: Separate figure numbering for Supplemental Section



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source