# Enable syntax highlighting in code block

**URL:** <https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836>\
**Category:** HubSpot Ideas\
**Tags:** content\
**Created:** [November 6, 2018, 1:43pm UTC](https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836 "2018-11-06T13:43:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Laureen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/laureen/32/48852_2.png) [@Laureen](https://community.hubspot.com/u/Laureen)\
**Post date:** [November 6, 2018, 1:43pm UTC](https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836/1 "2018-11-06T13:43:37Z")

</div>

The _Code Block_ functionality in the **Knowledge Base** is too low-level, really basic.

In my case, I am writing a documentation and I have to add a line of code, I cannot distinguish properly the code from the text in the article and it is difficult to read.

It would be nice to be able to highlight the code, select a syntax, add colors, etc. such as this code:

 ![Capture d’écran 2018-11-06 à 14.35.02.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/d/0d3a78f6d200b309a3665fdca205b82e282ece2e.png)

---

_[View the full topic](https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836)._
