# Afferra e istruisci gli utenti che pubblicano codice senza formattarlo correttamente

**URL:** <https://meta.discourse.org/t/catch-and-educate-users-posting-code-without-properly-formatting-it/67958>\
**Category:** Feature\
**Created:** [13 Agosto 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:** 1

<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:** [13 Agosto 2017, 9:29am UTC](https://meta.discourse.org/t/catch-and-educate-users-posting-code-without-properly-formatting-it/67958/1 "2017-08-13T09:29:03Z")

</div>

In [this post](https://meta.discourse.org/t/how-to-optimize-issue-support-ticket-like-workflow/67820/6) @codinghorror horror mentioned that on StackOverflow there is some logic that catches users trying to post unformatted code (“there are a lot of unusual [ and { characters per line, etc)”) and then block them from posting until they format it.

He also mentioned that there already was some discussion on writing such a plugin, but I couldn’t find it - so here is a new topic.

Does anyone remember the former posts about this?

If not, I will try to refine the idea a bit, see how SO does it etc to effectively write a spec how this plugin could/should work. (Unfortunately, I have no idea how RoR works etc, so I can’t code anything of it myself.)

---

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