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.
5. Select the language from the dropdown:
6. Adjust the settings as per your needs:
Preview:
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.






