Snippets Block
Allows to add snippets blocks to your content: Javascript, CSS, HTML...
Maintenance 22/1002436d since update
Active installs
100
Downloads
4,359
Reviews
3
Age
6.7y
Tagsgutenbergblockssnippetshighlight.js
Plugin info
Total downloads: 4,359
Active installs: 100
Total reviews: 3
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/29/2019 (2436 days ago)
Added to WordPress: 4/4/2019 (6 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 5.2.23
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 2436 days ago • 3 reviews
22/100
Is Snippets Block abandoned?
Possibly abandoned (last update 2436 days ago).
Compatibility
Requires WordPress: 5.0
Tested up to: 5.2.23
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Vaaky Highlighter
Rating 4.5/5 (2 reviews) • Active installs 20
CC-Syntax-Highlight
Rating 5.0/5 (1 reviews) • Active installs 80
Markdown Shortcode
Rating 5.0/5 (3 reviews) • Active installs 50
Goodbye Syntax Highlighter
Rating 5.0/5 (1 reviews) • Active installs 10
WP-Markdown-Syntax-Sugar
Rating 0.0/5 (0 reviews) • Active installs 10
Description
Allows to add snippets blocks to your content: Javascript, CSS, HTML…
Purpose
Add snippet blocks to your WordPress content using the new Gutenberg editor
How to use it
- Add a Snippet block within your content
- Include your code
- Select the language
- Save the post and check your front-end
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
Credits
- Based in Making WordPress Do More Block Starter Kit
- Original webpack configuration (before modifications) from Zac Gordon\’s Gutenberg Course.
- Original deploy script (before modifications) from Garry Jones.
- Webpack HMR thanks to Christian Glingener
Requirements
Gutenberg activated
Known Issues
There are no known issues at this time.
Roadmap
- Allow several themes
Installation
- Backup your WordPress install
- Upload the plugin folder to the
/wp-content/plugins/directory - Activate the plugin through the \’Plugins\’ menu in WordPress
Frequently Asked Questions
Review feed
No reviews available
Screenshots
No screenshots available
Changelog
1.3.0
- Added Spanish translation.
1.2.1
- Fixed line numbers with long lines.
1.2.0
- Added line numbers. Thanks Waqas Bin Hasan for the tip.
1.1.0
- Added copy button: it allows to copy to clipboard the content of the snippet
- Save formatted code: instead of parsing the content using
highlight.jsin the front-end, the HTML is saved directly in the backend - Fixed
filemtimein Windows
1.0.1
- Cleaning some first SVN version mess
1.0.0
- First version.