HubSpot Ideas

Laureen

Enable syntax highlighting in code block

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’écran 2018-11-06 à 14.35.02.png

3 Replies
jjfieldsma
Member

Def need this!!!!!

goconnor
HubSpot Product Team

This issue has been addressed in the new editor update. Please see this page for all of the details.

AGalvao
Member

Hi, 

 

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