Описание
OFG Code Editor provides a consistent way to publish code snippets in WordPress.
Features:
- Gutenberg block for formatted code output.
- Classic editor button for inserting the shortcode template.
- Shortcode support via
[ofgcodeeditor_code]. - Copy button and line numbers on the frontend.
- Responsive code box layout with light and dark friendly styling.
Скриншоты







Блоки
Этот плагин предоставляет 1 блок.
- OFG Code Editor
Установка
- Upload the plugin files to the
/wp-content/plugins/ofg-code-editordirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the
Pluginsscreen in WordPress. - Insert the
OFG Code Editorblock in Gutenberg or use the classic editor helper button.
Часто задаваемые вопросы
-
Which shortcode should I use?
-
Use
[ofgcodeeditor_code language="html"]...[/ofgcodeeditor_code]. -
Can I change the visible label?
-
The plugin uses a fixed header label: OFG Code Editor Plugin.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«OFG Code Editor» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «OFG Code Editor» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.0.3
- Updated plugin tested version metadata.
1.0.2
- Updated plugin metadata for WordPress.org review.
- Removed the legacy generic shortcode alias.
- Removed the unnecessary wrapper around the plugin class.
1.0.1
- Removed manual textdomain loading.
1.0.0
- Initial release.
