sandywp / plugins / code-block-for-elementor
Code Block Syntax Highlighter for Elementor
This is an drag & drop widget for syntax highlighting of code blocks.
Ready in seconds.
v1.0.3 600+ installs WP 5.0+ PHP 5.6+

What you get inside
5 screens-
Elementor code block settings.
-
Rendered code block.
About this plugin
Code Block Syntax Highlighter for Elementor is an Elementor widget which adds code blocks with prism.js syntax highlighting to your website.
All languages and themes of Prism.js 1.22.0 are supported.
- Elementor widget to highlight code snippets
- All prism.js languages are supported
- Use different Prism.js themes
- Show or hide line numberscopy to clipboardline numbers
Questions
- I want an additional feature which is not included?
Create a feature request on GitHub: https://github.com/thorstenalpers/wp-plugin-code-block-for-elementor/issues
- I would like to be able to select only a few languages in the list?
Currently there is no admin UI, but you could modify the code-block.php file from line 101 to 406 of this plugin, so that you see only a few languages.
sandywp / also on the shelf
Try another plugin
WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code…
4.9 · 3M+ installs
Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert…
4.7 · 1M+ installs
An easy, clean, and simple way to enhance your site with code snippets.
5.0 · 200K+ installs
Easy add site-wide, category and article specific custom code before the closing </head> and </body>, or after…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.