visual studio code – Rendering math equation in comments with VSCode


When reading python codes, there are equations such as

math:`R_{t_0} = sum_{t=t_0}^{infty} gamma^{t - t_0} r_t`

in the comments.

Are there any extension able to render/preview to human readable format?

I searched and installed some extensions in the market, but they don’t work.