Title: Terminal Block
Author: Suzen Fylke
Published: <strong>2022 年 7 月 28 日</strong>
Last modified: 2024 年 10 月 22 日

---

搜索插件

![](https://ps.w.org/terminal-block/assets/banner-772x250.jpg?rev=2835571)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/terminal-block/assets/icon-256x256.png?rev=2835571)

# Terminal Block

 作者：[Suzen Fylke](https://profiles.wordpress.org/codesue/)

[下载](https://downloads.wordpress.org/plugin/terminal-block.0.1.3.3.zip)

 * [详情](https://cn.wordpress.org/plugins/terminal-block/#description)
 * [评价](https://cn.wordpress.org/plugins/terminal-block/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/terminal-block/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/terminal-block/#developers)

 [支持](https://wordpress.org/support/plugin/terminal-block/)

## 描述

Add a rich text terminal window to WordPress posts with Terminal Block.

Terminal Block supports the following display and animation styles:
 * Command: 
displays a prompt with user input and a cursor, uses typing animations * Output:
displays output text, does not use typing animations * Progress: displays an animated
progress bar

This block’s style and animation are adapted from [termynal.js](https://github.com/ines/termynal)
version 0.0.1 by [Ines Montani](https://cn.wordpress.org/plugins/terminal-block/ines.io?output_format=md),
licensed under MIT license.

The plugin icon is [terminal icons](https://www.flaticon.com/free-icons/terminal)
created by Bharat Icons – Flaticon.

## 屏幕截图

 * [[
 * By default, each command line is prefixed with “$”.
 * [[
 * Terminal Block also supports custom prompts, such as “>>>”.
 * [[
 * You can change the terminal’s title and colors in the block setting sidebar.
 * [[
 * You can change the prompt used for a command in the block settings sidebar.

## 区块

该插件提供了 1 个区块.

 *   Terminal Block Display rich text in a terminal window.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/terminal-block` directory, 
    or install the plugin directly through the WordPress plugins page.
 2. Activate the plugin through the ‘Plugins’ page in WordPress.
 3. Search for the block within the Gutenberg block editor.

## 常见问题

### How do I use custom prompts?

 1. Select the commmand block you would like to have a custom prompt.
 2. Select “Block” in the settings sidebar.
 3. Change the prompt from “$” to your custom prompt in the “Prompt Settings” section.

### Does this block use similar typing animations to termynal.js?

Yes, typing animations are supported as of version 0.1.1.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Terminal Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Suzen Fylke ](https://profiles.wordpress.org/codesue/)

[帮助将「Terminal Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/terminal-block)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/terminal-block/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/terminal-block/)，或通过[RSS](https://plugins.trac.wordpress.org/log/terminal-block/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/terminal-block/)。

## 更新日志

#### 0.1.3

 * Test up to WordPress 6.1
 * Set up linting and CI workflows

#### 0.1.2

 * Fix theme style bleeding into editor view
 * Add support for user defined accent color for prompt and title

#### 0.1.1

 * Use inner blocks for terminal inputs, outputs, and progress bars
 * Add animation
 * Add Fira Mono font

#### 0.1.0

 * Initial release

## 额外信息

 *  版本 **0.1.3.3**
 *  最后更新：**2 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/terminal-block/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[blocks](https://cn.wordpress.org/plugins/tags/blocks/)
   [code](https://cn.wordpress.org/plugins/tags/code/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [terminal](https://cn.wordpress.org/plugins/tags/terminal/)
 *  [高级视图](https://cn.wordpress.org/plugins/terminal-block/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/terminal-block/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/terminal-block/reviews/)

## 贡献者

 *   [ Suzen Fylke ](https://profiles.wordpress.org/codesue/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/terminal-block/)