Exporting
If you want to export a certain formula you might want to ask ChatGPT to rewrite the LaTeX code in a code block so that you can easily copy and paste it (code blocks will have a copy button at the top right of the block when they are made).
Maybe you might not also need to convert
$$
Latex Code
$$
to $$LaTeX code$$ manually or by asking ChatGPT to do it (I did not try).
Once you have the code you might want to either use it in a LaTeX document or export it to a pdf for example.
To export LaTeX to pdf you can use one of the following:
An online LaTeX compiler
This might be tedious to do as you might have to install a LaTeX compiler locally on your computer.
LyX is a Word-like LaTeX editor that lets you see the LaTeX output in real-time instead of having to compile LaTeX code each time you want to see a new result like with Overleaf
I did not try this one, I do not know if it works and I do not know if it is safe to use so use at your own risk.
This is tedious to do as with LyX and involves working directly with the LaTeX code.