OFG Code Editor

外掛說明

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 個可供 Gutenberg/區塊編輯器使用的區塊。

  • OFG Code Editor

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/ofg-code-editor directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Insert the OFG Code Editor block 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.