Adding code formatting to code answers

It would be really helpful to add an auto-code formatter when including code sections in the answers (bonus points if it can show variable misspelling or basic errors).

Whenever i feel like answering a question that requires a bit of code , i just remember that ill have to format it myself which kinda makes me not wanna do it anymore.

Sure there are other outside sites/tools that can do that for you ,but i’d more encouraged to answer if was able to do it directly and not context switch and i assume this is the case for most people , so everyone wins in this case since more people would be willing to answer , and more people would be getting potential solutions.

1 Like