该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

2023 年 1 月 11 日
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
2021 年 12 月 2 日
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
阅读所有8条评价

贡献者及开发者

「Code Block Syntax Highlighter for Elementor」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1 – 12-02-2020

Improved description

1.0.0 – 16-12-2020

Added: Initial release