# Configurar blocos de código que se destaquem, com fundos diferentes por linguagem

**URL:** <https://meta.discourse.org/t/setup-code-blocks-that-stand-out-per-language-backgrounds/57255>\
**Category:** Developers\
**Tags:** how-to\
**Created:** [11 Fevereiro , 2017 23:23 UTC](https://meta.discourse.org/t/setup-code-blocks-that-stand-out-per-language-backgrounds/57255 "2017-02-11T23:23:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)\
**Post date:** [17 Outubro , 2017 14:10 UTC](https://meta.discourse.org/t/setup-code-blocks-that-stand-out-per-language-backgrounds/57255/3 "2017-10-17T14:10:29Z")

</div>

But since you’re going to have to put in different CSS blocks for different languages anyway (e.g. green for JavaScript), why not put in the text of the language with `:before` or `:after`?

---

_[View the full topic](https://meta.discourse.org/t/setup-code-blocks-that-stand-out-per-language-backgrounds/57255)._
