A simple block to insert code into Gutenberg.
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:
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.
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!
simple-code-block.php
to the /wp-content/plugins/
directoryACE Code Editor
into Formatting
category.You can create very easily a dynamic block into Gutenberg to write your own code to share in your web.
Just insert it like others blocks this blue block ACE Code Editor
into Formatting
category.
You can change the language of your code and also the styles very easly and dynamic.