Title: Iyo Block Code Renderer for Scratch
Author: kazweda
Published: <strong>2026 年 9 月 16 日</strong>
Last modified: 2026 年 9 月 16 日

---

搜尋外掛

![](https://ps.w.org/iyo-block-code-renderer-scratch/assets/icon.svg?rev=3700147)

# Iyo Block Code Renderer for Scratch

 由 [kazweda](https://profiles.wordpress.org/npmyj/) 開發

[下載](https://downloads.wordpress.org/plugin/iyo-block-code-renderer-scratch.1.1.7.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/iyo-block-code-renderer-scratch/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/iyo-block-code-renderer-scratch/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/iyo-block-code-renderer-scratch/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/iyo-block-code-renderer-scratch/#developers)

 [技術支援](https://wordpress.org/support/plugin/iyo-block-code-renderer-scratch/)

## 外掛說明

Iyo Block Code Renderer for Scratch lets you write Scratch-style pseudocode in your
WordPress content and renders it as images of Scratch blocks, using the [scratchblocks](https://github.com/scratchblocks/scratchblocks)
library.

This is useful for tutorials, coding classes (such as CoderDojo), and documentation
that references Scratch code.

#### Bundled library

This plugin bundles the scratchblocks JavaScript library (MIT License, Copyright
2013–2026 Tim Radvan). See `assets/js/scratchblocks/LICENSE` for the full license
text.

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/iyo-block-code-renderer-scratch`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Add a `scratchblocks` class element to your content and write Scratch pseudocode
    inside it:
 4. when green flag clicked
     say [Hello!]

Note: Manually escape `<` and `>` characters (e.g. `&lt;` and `&gt;`) inside the
block.

## 常見問題集

### Which languages are supported for block labels?

Currently English (`en`) and Japanese (`ja`) are enabled.

### Where does the rendering happen?

Rendering happens entirely in the visitor’s browser via JavaScript; no server-side
processing or external requests are made.

### Where can I report bugs or request features?

Please use the [GitHub issue tracker](https://github.com/kazweda/iyo-block-code-renderer-scratch/issues)
for bug reports and feature requests.

### I installed this plugin manually from GitHub before it was renamed. Will it auto-update?

The plugin (and its slug) was renamed from `iyo-scratch-blocks` (“Iyo Scratch Blocks”)
to `iyo-block-code-renderer-scratch` (“Iyo Block Code Renderer for Scratch”). WordPress
core’s automatic-update mechanism matches plugins by slug, so a copy installed manually
under the old slug will **not** be picked up as an update to this listing. If you
installed the old version manually, deactivate and delete it, then install “Iyo 
Block Code Renderer for Scratch” fresh from the WordPress.org directory (or via 
the “Add Plugins” screen) to get automatic updates going forward.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Iyo Block Code Renderer for Scratch〉的開發相關工作。

參與者

 *   [ kazweda ](https://profiles.wordpress.org/npmyj/)

[將〈Iyo Block Code Renderer for Scratch〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/iyo-block-code-renderer-scratch)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/iyo-block-code-renderer-scratch/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/iyo-block-code-renderer-scratch/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/iyo-block-code-renderer-scratch/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/iyo-block-code-renderer-scratch/)。

## 變更記錄

#### 1.1.7

 * Add `Text Domain` and `Domain Path` headers and a `languages/` directory with
   a generated `.pot` file, enabling translation of the plugin listing via translate.
   wordpress.org.
 * Add a FAQ entry about migrating from the pre-rename GitHub install to get automatic
   updates.

#### 1.1.6

 * Rename the plugin to “Iyo Block Code Renderer for Scratch” (and slug to iyo-block-
   code-renderer-scratch) to avoid implying affiliation with the Scratch trademark.
 * Correct the Contributors field to the current WordPress.org username (npmyj).

#### 1.1.5

 * Explicitly load scratchblocks scripts in the footer ($in_footer = true), fixing
   Plugin Check’s WordPress.WP.EnqueuedResourceParameters.NotInFooter warnings.
 * Render the block-matching call via `wp_add_inline_script()` instead of a manual
   footer `<script>` tag.

#### 1.1.4

 * Add direct file access protection to the main plugin file, per Plugin Check’s
   missing_direct_file_access_protection notice.

#### 1.1.3

 * Update “Tested up to” to WordPress 7.1, per Plugin Check’s outdated_tested_upto_header
   notice.

#### 1.1.2

 * Update Author URI to the canonical non-www URL.
 * Add a support/bug report link (GitHub issue tracker) to the FAQ.

#### 1.1.1

 * Align plugin header license declaration with GPLv2 or later and add License URI.

#### 1.1.0

 * Bundle the scratchblocks library (v3.7.1) with the plugin and load it from the
   plugin directory instead of an external CDN.
 * Add readme.txt for WordPress.org plugin directory submission.

#### 1.0.4

 * Update scratchblocks to v3.7.1 (previously loaded from CDN).

#### 1.0.3

 * Maintenance update.

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.1.7**
 *  最後更新 **3 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/iyo-block-code-renderer-scratch/)
 * 標籤:
 * [block](https://tw.wordpress.org/plugins/tags/block/)[code](https://tw.wordpress.org/plugins/tags/code/)
   [education](https://tw.wordpress.org/plugins/tags/education/)[scratch](https://tw.wordpress.org/plugins/tags/scratch/)
 *  [進階檢視](https://tw.wordpress.org/plugins/iyo-block-code-renderer-scratch/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/iyo-block-code-renderer-scratch/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/iyo-block-code-renderer-scratch/reviews/)

## 參與者

 *   [ kazweda ](https://profiles.wordpress.org/npmyj/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/iyo-block-code-renderer-scratch/)