For activate feature convert to PDF/HTML in python notebook vscode, install packages bellow :
$ pip install nbconvert
$ sudo apt-get install pandoc
$ sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-latex-recommended
more information : https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex