# Catch and educate users posting code without properly formatting it

**URL:** https://meta.discourse.org/t/catch-and-educate-users-posting-code-without-properly-formatting-it/67958
**Category:** Feature
**Created:** [August 13, 2017, 9:29am UTC](https://meta.discourse.org/t/catch-and-educate-users-posting-code-without-properly-formatting-it/67958 "2017-08-13T09:29:03Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Sujan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sujan/32/70979_2.png) [@Sujan](https://meta.discourse.org/u/Sujan)
#### Post date: [August 13, 2017, 9:30am UTC](https://meta.discourse.org/t/catch-and-educate-users-posting-code-without-properly-formatting-it/67958/2 "2017-08-13T09:30:46Z")

</div>

Here are my Canned Replies to handle this manually, that could be used as starters for the text people are shown:

> [@Better "Format your code" canned replies?](https://meta.discourse.org/t/better-format-your-code-canned-replies/67867):
>
> These are my two “Canned Replies” I use trying to get people to format their code as “Preformatted text” when they post code snippets, error messages or command line output. I use these a lot: If I already changed their post via my moderator powers: I changed your post to format your code or error message correctly. Please use the \</\> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable a…

And some elaborate explanations of how to post (code) on SO:  
[https://meta.stackexchange.com/a/22189/142000](https://meta.stackexchange.com/a/22189/142000)  
[https://meta.stackexchange.com/help/formatting](https://meta.stackexchange.com/help/formatting)  
[https://meta.stackexchange.com/editing-help](https://meta.stackexchange.com/editing-help)

Anyone know where to find anything about the feature @codinghorror mentioned?

---

_[View the full topic](https://meta.discourse.org/t/catch-and-educate-users-posting-code-without-properly-formatting-it/67958)._
