Blog post

Code Syntax Highlighting

by Alex on 3/2/2019, 11:00:00 PM

Hi 👋

I apologize for sending too many emails this week, but I have yet another feature announcement: from now one JustComments supports code syntax highlighting by default.

All you need to do to enable it is to pick one of the themes provided by highlight.js and add the CSS file to your site. For example:

<link rel="stylesheet" href="" />

These styles will make the code appear as follows:

Example of code highlighting

I have documented the feature in more details on this page:

Best regards,

follow: website | twitter | github | indiehackers

Are you ready to get started?
  • Learn about our pricing.
  • Every new account gets 100 000 free credits for a trial period. No credit card required.
  • Creation of comments and storage of comments is for free.