# 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:** 4\
**Page:** 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)

---

<div class="post-metadata">

**Author:** ![jjfieldsma](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jjfieldsma/32/76463_2.png) [@jjfieldsma](https://community.hubspot.com/u/jjfieldsma)\
**Post date:** [May 21, 2019, 4:02pm UTC](https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836/2 "2019-05-21T16:02:26Z")

</div>

Def need this!!!

---

<div class="post-metadata">

**Author:** ![goconnor](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/goconnor/32/4273_2.png) [@goconnor](https://community.hubspot.com/u/goconnor)\
**Post date:** [July 25, 2019, 10:19am UTC](https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836/3 "2019-07-25T10:19:06Z")

</div>

This issue has been addressed in the new editor update. Please see this [page](https://www.hubspot.com/product-updates/knowledge-editor-update)for all of the details.

---

<div class="post-metadata">

**Author:** ![AGalvao](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@AGalvao](https://community.hubspot.com/u/AGalvao)\
**Post date:** [August 15, 2022, 2:39pm UTC](https://community.hubspot.com/t/enable-syntax-highlighting-in-code-block/10836/4 "2022-08-15T14:39:47Z")

</div>

Hi,

Are we able to apply syntax highlighting to the code somehow?
