# Issue with Code Block Formatting in Discourse – Red Text and Unintended Highlighting

**URL:** https://meta.discourse.org/t/issue-with-code-block-formatting-in-discourse-red-text-and-unintended-highlighting/321315
**Category:** Support
**Tags:** code
**Created:** [August 12, 2024, 6:09pm UTC](https://meta.discourse.org/t/issue-with-code-block-formatting-in-discourse-red-text-and-unintended-highlighting/321315 "2024-08-12T18:09:22Z")
**Posts on this page:** 1
**Showing post:** 18

<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: [August 12, 2024, 9:31pm UTC](https://meta.discourse.org/t/issue-with-code-block-formatting-in-discourse-red-text-and-unintended-highlighting/321315/18 "2024-08-12T21:31:43Z")

</div>

When I had a look, the autodetection thought it was makefile, not python.

> [@Moin](#):
>
> and at your forum it’s makefile
> 
> ![image](https://global.discourse-cdn.com/meta/original/4X/a/9/1/a913131de818ae0d523dfa4b5dd665466303fbdf.png)

Did you add the [programming language to the code block](https://meta.discourse.org/t/selecting-the-programming-language-used-in-code-blocks/19247) in your posts?

---

_[View the full topic](https://meta.discourse.org/t/issue-with-code-block-formatting-in-discourse-red-text-and-unintended-highlighting/321315)._
