Pretty Nice Syntax Highlighting Block For WordPress – PrettyCode

As a programmer, or even just someone who has to write a lot of code, you might want to use syntax highlighting for code snippets on your WordPress website.

PrettyCode is a WordPress plugin to provide syntax highlighting for programmers and web developers within the Gutenberg editor.

The plugin uses the Codemirror syntax highlighting library, supports more than 20 languages and comes with 65+ pretty themes.

How to use it:

1. Install and activate the plugin.

2. Insert a new Pretty Code block into your Gutenberg editor.

Pretty Nice Syntax Highlighting Block New

3. Select a language and theme of your choice from the settings panel.

Pretty Nice Syntax Highlighting Block Select language And Theme

4. Copy and paste your code snippets into the block.

Pretty Nice Syntax Highlighting Block Paste Snippets

5. Available configs for the Syntax Highlighting Block.

  • Filename
  • Auto wrap long lines
  • Show lines numbers
  • Start line

Pretty Nice Syntax Highlighting Block Options

Download WordPress Plugin:

You can download this free WordPress plugin using the download button below. Unless otherwise stated, the WordPress plugin is available under GNU General Public License.

Author: Maxime BJ

Homepage: https://wordpress.org/plugins/prettycode/

Don’t forget to share this WordPress plugin and also check out other awesome plugins on our site.

Rate This Plugin
Sending
User Review
0 (0 votes)