The LiTeX mode which stands for Lisp to LaTeX is a minor mode for text modes in emacs that can transform your valid lisp expressions into LaTeX expressions you can render into beautiful PDFs.
Thumbnail: https://imgur.com/bRKFsSy
Github link: https://github.com/Atreyagaurav/litex...
Github README has more details on how to use it, though some of them are also explained in this video.
And for people who don't know what emacs is:
In simple terms, it's a text editor which is extensible, and we can add as many features as we want like this.
Here's the link to official website: https://www.gnu.org/software/emacs/