# Realce de código ocorrendo quando o realce automático não está habilitado

**URL:** <https://meta.discourse.org/t/code-highlighting-happening-when-auto-highlighting-not-enabled/165486>\
**Category:** Bug\
**Created:** [26 Setembro , 2020 22:21 UTC](https://meta.discourse.org/t/code-highlighting-happening-when-auto-highlighting-not-enabled/165486 "2020-09-26T22:21:13Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)\
**Post date:** [29 Setembro , 2020 10:17 UTC](https://meta.discourse.org/t/code-highlighting-happening-when-auto-highlighting-not-enabled/165486/22 "2020-09-29T10:17:41Z")

</div>

> [@j.jaffeux](#):
>
> `default_code_lang`

Como outro ponto de dados, usamos `text` como padrão, que é um alias para `nohighlight`, e temos obtido bons resultados com isso.

 ![Screen Shot 2020-09-29 at 5.13.26 PM](https://global.discourse-cdn.com/meta/original/3X/f/3/f3f7ce5052fc9e662e50bfad8b9c40a8281f9b81.jpeg)

Notamos alguns problemas de vez em quando, mas, no geral, essa tem sido a melhor abordagem para nós e fica melhor com `raw`, por exemplo:

````plaintext
```text
jtl_name=$(/usr/local/bin/kubectl exec -it --namespace=$namespace $master_pod -- bash -c "ls -tr /*.jtl" | awk '{sub(/\r$/, ""); print}')
```

````

Produzindo:

```plaintext
jtl_name=$(/usr/local/bin/kubectl exec -it --namespace=$namespace $master_pod -- bash -c "ls -tr /*.jtl" | awk '{sub(/\r$/, ""); print}')

```

Temos também um ícone personalizado para o bloco de código delimitado padrão `text` no editor.

---

_[View the full topic](https://meta.discourse.org/t/code-highlighting-happening-when-auto-highlighting-not-enabled/165486)._
