---
subfigGrid: true
...
You can define subfigures:
![1](fig1.png){#fig:subfig1 width=30%}
![2](fig2.png){#fig:subfig2 width=30%}
![3](fig3.png){width=30%}
![4](fig4.png){#fig:subfig4 width=30%}
![5](fig5.png){width=30%}
![6](fig6.png){#fig:subfig6 width=30%}
![7](fig7.png){#fig:subfig7 width=30%}
![8](fig8.png){width=30%}
![9](fig9.png){#fig:subfig9 width=30%}
Caption
![1](fig1.png){#fig:subfig21}
![2](fig2.png){#fig:subfig22}
![3](fig3.png)
![4](fig4.png){#fig:subfig24}
![5](fig5.png)
![6](fig6.png){#fig:subfig26}
![7](fig7.png){#fig:subfig27}
![8](fig8.png)
![9](fig9.png){#fig:subfig29}
Caption
Figures themselves can be referenced @fig:subfigures2, as well as individual subfigures: [@fig:subfig1; @fig:subfig2; @fig:subfig29]