Here's the link: https://txstc55.github.io/code-to-latex/
I was writing a paper and was surprised that after so many years, code display in latex is still ugly af, and there's no only resource to covert the code to latex.
So I wrote one, it only supports python now, but it already satifies lots of my use cases.
Here's a screenshot of a piece of code randomly generated by chatgpt, now displayed in pdf:
The pdf doesn't just include a picture, it is actual selectable text inside, here's the link:
https://github.com/txstc55/code-to-latex/blob/main/example/code_style.pdf