# Unformatted Code Detector

**URL:** <https://meta.discourse.org/t/unformatted-code-detector/112773>\
**Category:** Theme component\
**Tags:** official, unformatted-code-detector\
**Created:** [March 28, 2019, 4:21am UTC](https://meta.discourse.org/t/unformatted-code-detector/112773 "2019-03-28T04:21:55Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![lionel-rowe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lionel-rowe/32/134288_2.png) [@lionel-rowe](https://meta.discourse.org/u/lionel-rowe)\
**Post date:** [May 19, 2021, 3:49pm UTC](https://meta.discourse.org/t/unformatted-code-detector/112773/35 "2021-05-19T15:49:51Z")

</div>

> [@tpetrov](#):
>
> Still, maybe “It looks like your post may contain unformatted code” could be changed to “Do you use code in your post?”, as sometimes questions draw more attention.

Not a bad idea, @david perhaps we can try changing the modal title to “Are you posting a code snippet?”

> [@tpetrov](#):
>
> I’m not a UX expert, but this button seems a bit nuclear:  
> ![image](https://global.discourse-cdn.com/meta/original/3X/8/f/8f95821964042677651e3717ae4b434e19759462.png) - something I wouldn’t like to click. Which of course is the idea - that people will not simply skip it instead of trying to format their post better.

I think you’re probably right. Next version will have that as a standard gray button.

> [@mbauman](#):
>
> It might have been the broken links that tripped it up? They’re just taken from the templating engine and look like: `[keep things civilized](%{guidelines_url})` . Or maybe the HTML `img` tag?

Turns out it was both! Next version with default settings will no longer trigger for this post.

---

_[View the full topic](https://meta.discourse.org/t/unformatted-code-detector/112773)._
