# Discourse Table Builder 插件

**URL:** <https://www.isharkfly.com/t/discourse-table-builder/14423>\
**Category:** Discourse\
**Tags:** discourse\
**Created:** [May 16, 2023, 12:07pm UTC](https://www.isharkfly.com/t/discourse-table-builder/14423 "2023-05-16T12:07:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [May 16, 2023, 12:07pm UTC](https://www.isharkfly.com/t/discourse-table-builder/14423/1 "2023-05-16T12:07:40Z")

</div>

| A | B | C |
| --- | --- | --- |
| 🛠 | **仓库链接** | [https://github.com/discourse/discourse-table-builder](https://github.com/discourse/discourse-table-builder) |
| ℹ | **概述** | **Table Builder** 这个插件能够让用户能够在 Discourse 的编辑对话框中快速的对表格进行编辑，同时也能够快速的插入表格。 |
| 📖 | **对 Discourse 主题不够了解** | 请参考官方有关 Discourse 主题的文章：[Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

> 确定`.js` 文件在 Discourse 中的： `theme_authorized_extensions` 添加上去。

![theme_authorized_extensions-js](https://www.isharkfly.com/images/transparent.png)

随后可以通过手动的方式对这个主题组件进行安装。

这个组件的安装不需要对 Discourse 进行重构

## 特性

### 一个构建表格的图形化界面

在你需要构建表格的时候，可以选择插入，然后这个组件将会打开，你可以在这个组件上进行编辑内容。

同时也可以编辑表格内容，当你保存后，这个组件将会自动帮你把表格保存为 Markdown 格式。

![](https://www.isharkfly.com/images/transparent.png)

### 一个强大的表格编辑器

对已经存在的表格进行编辑也非常简单。

选择需要编辑的表格，然后单击表格上 Edit Table 按钮，这个时候将会出现一个表格编辑器。

可以在这个编辑器中对表格的内容直接进行编辑。

如下图，直接单击编辑器的按钮就可以了。

![2023-05-16_09-14-07](https://www.isharkfly.com/images/transparent.png)

打开的编辑器界面

![](https://www.isharkfly.com/images/transparent.png)

## 预览
