Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Code Block Syntax Highlighter for Elementor

Описание

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

Скриншоты

  • Elementor code block settings.
  • Rendered code block.

Установка

  1. Upload the plugin to your blog and activate

Часто задаваемые вопросы

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.

Отзывы

11.01.2023
Congratulations for this plugin. It is really complete because it takes into account syntax highlighting with many programming languages and allows you to change the design easily.It works very well with WordPress 6.1.1
02.12.2021
This is exactly what I was looking for and works seamlessly with Elementor Thanks you very much, this was hard to find but i’m glad I did. Hope it gains traction
I’ve been looking for this plugin for two years now, fiddling around with custom css to make nice code snippets in my web pages. Finally stumbled upon this one, which really does the job well. I would like it to support alternating line colors for improved readability but it goes highly recommended as is.
Посмотреть все 7 отзывов

Участники и разработчики

«Code Block Syntax Highlighter for Elementor» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Code Block Syntax Highlighter for Elementor» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0.1 — 12-02-2020

Improved description

1.0.0 — 16-12-2020

Added: Initial release