Clippy for code snippets?

Now that I’ve got your attention…

We have a forum where a large percentage of users post code or log snippets. I often find myself reformatting user posts just so I can read them.

I just did that for a guy who made an honest attempt at code formatting, but used single quotes instead of backticks. I see other people who apply quote formatting to code. And still (many, many) others who make no attempt at all.

Since there are so many hints built into the system, it seems reasonable to me to ask for something like

It looks like you’re posting code. To properly format it…


Are you looking for this?


It seems that I am. Thanks!