Figure Caption to behave like Jupyter Book

Hi there, is there a way to add picture description, caption, or even called legend? And is there a way to letter reference it?

I could only found this solution, however, manually editing figure number is not a good alternative.

Just like jupyter-book?