GSoC idea proposal: code block indentation with prettier API

Hi, I'm Khuong Duy, my introduction, I'll participate in GSoC 2024. I think adding a button when clicked format the code block is a useful feature, because incorrect indentation code hurt my eyes. I'm intending to use Prettier API. We can add user configurations like tabs vs space indent, and spaces,..., we can also highlight invalid code that causing the format to fail.