Syntax Highlighter

Syntax Highlighter

How to use the Code Block with Syntax Highlight

Zento supports code highlighting via Prism Plugin: you can check all the plugin documentation here.

If you want to highlight your code, it is highly recommmended to use the “Language code block”, you can check on the Right SidebarKeyboard Shortcuts how is created.

Here is a CSS example:

Full CSS code example

If you are going to use the theme mainly for Code Tutorials or similar, it is highly recommended to create a Snippet, so you can easily reuse and create the block faster:

Click the Create Snippet button