plugin-icon

Simple Code Block

Автор: pablocianes·
Простой блок для вставки кода в Gutenberg.
Рейтинг
4.9/5
Версия
1.2.2
Активные установки
200
Последние изменения
Jan 8, 2020
Simple Code Block

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.

Для каждого блока вы можете выбрать множество языков и стилей:

  • Доступно множество языков: HTML, PHP, CSS, JavaScript, Python, …
  • Подсветка синтаксиса с более чем 20 темами на выбор.
  • 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

Обратная связь и поддержка

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..

Также вы можете связаться со мной на моей личной странице Pablo Cianes или даже посмотреть Simple Code Block в GitHub, где вы можете найти весь разработанный для этого плагина код.

Я надеюсь, что это полезно для вас, и с нетерпением жду ваших отзывов! 😉 Спасибо!

Проверено на
WordPress 5.3.20
Этот плагин можно скачать и использовать при .