# مشكلة في تنسيق كتلة الشفرة في Discourse – النص الأحمر والتسليط الضوئي غير المقصود

**URL:** https://meta.discourse.org/t/issue-with-code-block-formatting-in-discourse-red-text-and-unintended-highlighting/321315
**Category:** Support
**Tags:** code
**Created:** [12 أغسطس 2024، 6:09م 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:** 9

<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: [12 أغسطس 2024، 8:42م UTC](https://meta.discourse.org/t/issue-with-code-block-formatting-in-discourse-red-text-and-unintended-highlighting/321315/9 "2024-08-12T20:42:35Z")

</div>

> [@alex10](#):
>
> لقد اختبرت الكود على [try.discourse.org](http://try.discourse.org)، وتظهر النتائج في لقطة الشاشة أدناه:

هذا تمييز جافا

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/1/6/41640113d28b4dc63edd8e94e9a00bc65c2650a3.png)

وفي منتداك إنه makefile

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/9/1/a913131de818ae0d523dfa4b5dd665466303fbdf.png)

هناك دليل حول [Selecting the programming language used in code blocks](https://meta.discourse.org/t/selecting-the-programming-language-used-in-code-blocks/19247)  
يمكنك أيضًا اختيار لغة افتراضية في إعدادات الموقع

تم التقاط لقطة الشاشة في منتداك بدون الوضع الآمن، لذا بالنسبة لي الخط هو monospace.

---

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