Highlight Your Source Code With Snippets Block

The Snippets Block is a syntax highlighting tool that allows developers to insert and highlight your source code in the Gutenberg editor.

More Features:

  • Line numbers.
  • Copy to clipboard button.
  • Nice clean interface.
  • Allows to save code snippet content as HTML.

Supported languages:

  • Apache
  • Bash
  • C#
  • C++
  • CSS
  • Erlang
  • Go
  • HTML
  • XML
  • Handlebars
  • JSON
  • Java
  • JavaScript
  • Markdown
  • Objective C
  • PHP
  • Python
  • R
  • Ruby
  • Rust
  • SCSS
  • SQL
  • Shell
  • Twig
  • TypeScript

How to use it:

1. Download and upload the plugin to the plugins folder.

2. Or directly download & install the plugin from the admin panel.

3. Activate the plugin on your website which has the Gutenberg editor enabled.

4. Insert your source code into the Snippets Block.

source code snippets block

5. Select the language from the dropdown:

source code language dropdown

6. Adjust the settings as per your needs:

Snippets Block Settings


Highlight Your Source Code With Snippets Block

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: Luis Sacristán

Homepage: https://wordpress.org/plugins/snippets-block/

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

Rate This Plugin
User Review
0 (0 votes)

See Also:

Leave a Reply