I've been typsetting this last weeks and my code looked like something garbage. I wouldn't want to manually format this as it is tedious, and I wondered if there is such command to format latex source code automatically?
Sure I can format C language with indent or clang-format but how about tex files?
Googling end me up empty handed.