# User mention limit: clarify the error message?

**URL:** https://meta.discourse.org/t/user-mention-limit-clarify-the-error-message/231649
**Category:** UX
**Tags:** mentions
**Created:** [July 1, 2022, 7:51am UTC](https://meta.discourse.org/t/user-mention-limit-clarify-the-error-message/231649 "2022-07-01T07:51:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 1, 2022, 8:02am UTC](https://meta.discourse.org/t/user-mention-limit-clarify-the-error-message/231649/2 "2022-07-01T08:02:43Z")

</div>

> [@yrodiere](#):
>
> We could talk of Discourse automatically detecting source code and suggesting to format it

There is a #Customization > Theme component doing that

> [@Unformatted Code Detector](https://meta.discourse.org/t/unformatted-code-detector-theme-component/112773):
>
> discourse2Summary Unformatted Code Detector detects unformatted code and gives a warning before posting.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/unformatted-code-detector)hammer_and_wrenchRepository Link [https://github.com/discourse/unformatted-code-detector](https://github.com/discourse/unformatted-code-detector)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features Users posting unformatted code will see a warning message instructing them how to format it correctly…

---

_[View the full topic](https://meta.discourse.org/t/user-mention-limit-clarify-the-error-message/231649)._
