WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by pablocianes v1.2.2

Simple Code Block

A simple block to insert code into Gutenberg.

Simple Code Block

The facts

Rating
4.9★ from 9
Active installs
200+
Price
Free
Last updated
8 Jan 2020
Added
Aug 2018
Requires WP
4.6
Tested up to
WP 5.3.23
Requires PHP
5.2.4
Downloads
8,934

Our analysis

AI-assisted

Simple Code Block is a WordPress plugin designed for the Gutenberg editor, allowing you to insert and display code snippets easily. It utilises the Ace Editor, which provides a robust environment for code editing with features like syntax highlighting and various language options. This plugin is suitable for developers and content creators who need to present code on their websites in a clear and visually appealing manner.

The plugin supports multiple programming languages such as HTML, PHP, CSS, JavaScript, and Python, and offers over 20 themes for syntax highlighting. Additional features include options for font size, line numbers, and a copy button for convenience.

Best for: This plugin is best for developers and content creators who need to display code snippets on their WordPress sites.

What it does well

  • Supports multiple programming languages
  • Offers over 20 themes for syntax highlighting
  • Includes options for font size and line numbers
  • Utilises the Ace Editor for enhanced code editing
  • Compatible with the Gutenberg editor

Where it falls short

  • Limited information on user feedback and updates since January 2020
  • Directory score indicates potential areas for improvement

Verdict

Simple Code Block provides a straightforward solution for embedding code in WordPress, though its recent inactivity may be a consideration for potential users.

From the developer

pablocianes's own description of Simple Code Block, lightly tidied.

A simple block to the new WordPress editor Gutenberg to insert and show code with Ace Editor.

Now is very easy to share code in your own web with Gutenberg and this simple code block with the power of Ace: the successor of the Mozilla Skywriter (Bespin) project.

Ace is an embeddable code editor written in JavaScript with the features and performance of native editors such as Sublime, Vim and TextMate.

For each block you can choose many languages and styles:

  • Lot of languages avalaibles: html, php, css, javascript, python,…
  • Syntax highlighting with more than 20 themes to choose.
  • Other options to select the font size of the code and lines to show without scroll.

What You See in the backend with Gutenberg editor Is What You Get! and the plugin only enqueue the selected assets to highlighting your code with your own selected options.

1.1.0

  • Add option: show copy button
  • Add option: show or hide lines numbers
  • Improve Safari Browser compatibility
  • Add Bash/Shell language

1.2.0

  • Allow working without use of <?php tag
  • Improve WPO with better enqueue

Feedback and support

I would be happy to receive your feedback to improve this plugin.
Please let me know through support forums if you like it and please be sure to leave a review..

Also you can contact me on my personal page Pablo Cianes or even visit Github of Simple Code Block where you can find all the development code of this plugin.

I hope it is useful for you and look forward to reading your reviews! 😉 Thanks!

Read the full description on the official page →

Tagged as