# שנה את עיצובם של בלוקי קוד מוטבעים כדי שיבלטו יותר

**URL:** <https://meta.discourse.org/t/change-styling-of-inline-code-blocks-so-they-stand-out-more/217825>\
**Category:** UX\
**Created:** [9 בפברואר,‏ 2022,‏ 4:44pm UTC](https://meta.discourse.org/t/change-styling-of-inline-code-blocks-so-they-stand-out-more/217825 "2022-02-09T16:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [9 במאי,‏ 2022,‏ 10:06pm UTC](https://meta.discourse.org/t/change-styling-of-inline-code-blocks-so-they-stand-out-more/217825/18 "2022-05-09T22:06:49Z")

</div>

Inline code has always looked like regular code, in a code (monospace) font. Anything really bright and jarring would be highly dependent on the community, and definitely not consistent with the way I see `code` used in most places on the web.

The issue of syntax highlighting is different; you’d need **multiple lines of code** to determine which syntax you’re dealing with. Perhaps that was the root of the issue – if you want syntax highlighting you need a _block_ of code, e.g.

```javascript
var x, y, z; // Declare 3 variables
x = 5; // Assign the value 5 to x
y = 6; // Assign the value 6 to y
z = x + y; // Assign the sum of x and y to z

document.getElementById("demo").innerHTML =
"The value of z is " + z + ".";

```

A single `code` element is divorced from all context necessary to do syntax highlighting. You could do a single line of JavaScript though:

```javascript
"the value of z is " + z + ".";

```

Which looks like

````
``` javascript
"the value of z is " + z + ".";
```

````

So I guess this is about **blocks of code** versus **a word of code**.

---

_[View the full topic](https://meta.discourse.org/t/change-styling-of-inline-code-blocks-so-they-stand-out-more/217825)._
