# كيفية تغيير الألوان الافتراضية لكتل الكود المتوفرة؟

**URL:** https://meta.discourse.org/t/how-to-change-default-colours-of-the-code-block-provides/281011
**Category:** Support
**Created:** [4 أكتوبر 2023، 9:07ص UTC](https://meta.discourse.org/t/how-to-change-default-colours-of-the-code-block-provides/281011 "2023-10-04T09:07:05Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [4 أكتوبر 2023، 10:54ص UTC](https://meta.discourse.org/t/how-to-change-default-colours-of-the-code-block-provides/281011/4 "2023-10-04T10:54:30Z")

</div>

تتم اللغات المكتشفة من خلال إعداد موقع: `highlighted languages`.

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/7/4/674bfdd1a95e57e1c55e2ab6fbff8873c4ab3d3e.png)

تندرج Swift في القائمة افتراضيًا ولكنها لا تندرج في meta.

اللغات المدعومة من قبل هذه المكتبة الخارجية مدرجة هنا:

> **[Supported Languages — highlight.js 11.9.0 documentation](https://highlightjs.readthedocs.io/en/latest/supported-languages.html)**

تعديل: كما هو موضح هنا 🫣

> [@Configure which programming languages are available for syntax highlighting](https://meta.discourse.org/t/configure-which-programming-languages-are-available-for-syntax-highlighting/239717?u=canapin):
>
> bookmark This guide explains how to configure which programming languages are available for syntax highlighting in Discourse. person_raising_hand Required user level: Administrator Syntax highlighting enhances readability in code blocks by applying formatting based on the programming language. You can customize the languages available for syntax highlighting in Discourse. Configuring the highlighted\_languages site setting To configure the list of programming languages for syntax highli…

@PrettyGirl، نصيحة markdown: يمكنك الهروب من backticks من كتلة التعليمات البرمجية عن طريق تغليف التعليمات البرمجية الخاصة بك بأربعة backticks بدلاً من ثلاثة 🙂

````plaintext
``` swift

[code here]
```

````

---

_[View the full topic](https://meta.discourse.org/t/how-to-change-default-colours-of-the-code-block-provides/281011)._
