# Text Editor Blues - color syntax highlighting and single small column

**URL:** <https://meta.discourse.org/t/text-editor-blues-color-syntax-highlighting-and-single-small-column/154582>\
**Category:** Product Support\
**Created:** [11 ביוני,‏ 2020,‏ 9:36pm UTC](https://meta.discourse.org/t/text-editor-blues-color-syntax-highlighting-and-single-small-column/154582 "2020-06-11T21:36:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [11 ביוני,‏ 2020,‏ 9:57pm UTC](https://meta.discourse.org/t/text-editor-blues-color-syntax-highlighting-and-single-small-column/154582/2 "2020-06-11T21:57:45Z")

</div>

> [@Joaquin\_Menchacha](#):
>
> Biggest issue I have is the size-restricted column is the middle of the screen. For editing, this is frustrating, as I have to scroll horizontally quite often. For rendering, especially on a desktop, is not the best experience, as there’s a lot of unused white space. Regardless how far you stretch the window, you only get this very slim column in the center of the browser window.

Composer width is of similar size of the post width, so you have an idea of line length while typing.

You can increase both widths with some simple CSS theme-component. The defaults we ship are based on [UX scientific studies](https://ux.stackexchange.com/questions/108801/what-is-the-best-number-of-paragraph-width-for-readability).

> [@Joaquin\_Menchacha](#):
>
> Another issue is the color syntax highlighting. It doesn’t render color syntax consistently. For a `yaml` , in our server (2.5.0.beta7), if I add a `- list` item, color syntax turns off, but if only `key: value` , this works

You can force a specific language syntax by adding it’s name on the opening 3 back ticks, as defined in the [Commonmark specification](https://spec.commonmark.org/0.29/#info-string).

Example:

````plaintext
```yaml
list:
  - a: 1
  - b: "2"
```
````

becomes

```yaml
list:
  - a: 1
  - b: "2"

```

> [@Joaquin\_Menchacha](#):
>
> but on [Discourse](http://meta.discourse.org), `PowerShell` syntax doesn’t work.

Check your `highlighted languages`. Powershell is not on the default list.

---

_[View the full topic](https://meta.discourse.org/t/text-editor-blues-color-syntax-highlighting-and-single-small-column/154582)._
